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?
Hello serhiol,
Thank you for the details and your feedback. What you could do is to save the layout of the component and load it in those moments.
The methods you would need are 'SaveAsXml' and 'LoadFromXml'.
Hello, Boris.
Unfortunately, this did not not help.
And this does not allow to the user to move the toolbars. I should leave the user to move the toolbars, but in some moments (when, say, the user changes the current tab in the form) I need to "alighn to left" the toolbars (remove the empty spaces).
You could set the 'GrabHandleStyle' on the 'Settings' object of the toolbar to 'None' and let me know if this solves your issue.
There is not the question of design time.
The user moves the toolbars in runtime as it whish. It can leave spaces.
So, a solution will be do not allow to the user to leave spaces at all, or to stick the toolbars after the user leaves the toolbar from moving.
All this in a docked toolbar. I'd like that the toolbars be arranged from left to right, and it's the case when the form containing toolbars is just opened.
But once the user moves these toolbars in the docked area, the toolbars remains at the place where it was left, leaving spaces between them, like in the printscreen above.
Hi serhiol,
It is not clear enough to me what you want to do here. How are you getting these spaces? You could position the toolbars next ot each other at design time and if a tool then is removed, this would not affect its parent position.