For reference:
toolbar.Settings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False
Did I miss something or is this the way things suppose to work when AllowCustomize = "False"?
The AllowCustomize settings determines whether the user is allowed to customize the tools within the toolbar, not the visibility of the toolbar, so this is normal behavior. And the reason you cannot get the toolbar back is probably because it is the only toolbar on the form and when it is hidden, there is no dock area to right-click on to bring up the toolbar list. It sounds like you want to use AllowHiding instead. Try settings that to False and it should remove the toolbar from the list of toolbars for customization.
I need to stop the "Customize..." context menu that comes when you right-click on a ultra toolbar. How can I do that? I set
ultraToolbarsManager1.RuntimeCustomizationOptions = RuntimeCustomizationOptions.None;
But, this does not help. Any help is much appreciated.
Handle the BeforeToolbarListDropdown event and set Cancel to True.
Customization windows always open below toolbar. If i dock main toolbar bottom, customization windows open behind the windows main task bar.
Customization window should open automatically UP/DOWN main toolbar based upon dock location.
How to control customization window opening location.
Hello Amit,
I've tried this and it seems to work fine for me. Please take a look at my sample and let me know of your current version of NetAdvantage.