Hello!
I have a pop up menu tool in a ribbon menu that contains a lot of state buttons. Is there a way to stop the menu from closing when any of the state buttons are closed?
The state buttons controls the appstyling theme of the interface, and it would be nice to be able click the different options and view the interface without having to open the menu time after time...
/Henrik
Hello Henrik,
At that moment we have not such functionality, but maybe one possible approach to achieve desired behavior could be if you implement the code below:
private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
{
if (e.Tool.Owner.GetType() == typeof(PopupMenuTool))
((PopupMenuTool)e.Tool.Owner).DropDown();
}
Let me know if you have any questions.
Regards
from what I can see, this code generates an error saying that it is not possible to open teh dropdown since the menu isn't open.
perhaps, the menu is already closed when this event is executed?