Articles in this section
Category / Section

How to programatically change the bar position in a particular row in MainFrameBarManager?

1 min read

Change the bar position

XPMenus Framework has support to change the Bar position in a particular Row at run time. This can be achieved by using MainFrameBarManager’s GetBarControl() method. And then the RowOffset property is used to shift the horizontal position of the Bar at run time. Please refer the below code snippet which illustrates this:

C#

mainFrameBarManager1.GetBarControl(this.bar2).RowOffset=50;

VB

mainFrameBarManager1.GetBarControl(this.bar2).RowOffset=50

Sample: https://help.syncfusion.com/support/samples/KB/Tools.Windows/TRow/RowOffset.zip

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied