Question from Stackoverflow: http://stackoverflow.com/questions/15919756/reset-the-infragistics-toolbars-location
I'd need to reset the Infragistics toolbars location, in order do not have empty spaces between toolbars. Is there a way to do it?
Looking at the provided information, the mentioned behavior is possible, if you are using "Save Settings" option of your UltraToolbarManager. To solve your task, you could disable "Save Settings" option. By this way you will use the default functionality of the UltraToolbarManager and your toolbars will be left align. Please take a look at the attached video file for more details.
Let me know if you have any further questions.
Regards
Part 2
Georgi, thank you for your explanation and video.
I have some tooolbars, and a TabControl.
There are specifc toolbar for each tab.
So, I need that every time I change the tab, the (visible) toolbars be (re)aligned to left.
The behavior of the toolbarManager is very good when the user close and reopen the Form.
Now, I want this behavior (left alignment) to be possible without closing the form (via a button click or tab change).
Or, if this is not possible, maybe is there a way do not allow to the user to let gaps between toolbars (like Visual Studio 2010 does not allow)?
Hello serhiol,
I`m not sure that I understand your scenario. Are you able to upload small sample with your scenario that reproduce your issue. I`ll be glad to research it for you.
serhiol said: if this is not possible, maybe is there a way do not allow to the user to let gaps between toolbars (like Visual Studio 2010 does not allow)?
Maybe you could try the settings :
- ultraToolbarsManager1.Toolbars[0].Settings.GrabHandleStyle = Infragistics.Win.UltraWinToolbars.GrabHandleStyle.None;
also Allow properties under ultraToolbarsManager1.Toolbars[0].Settings....
Let me know if you have any questions.
If you need any additional assistance don’t hesitate to ask.