We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Toolbar position (all in the same row)

Thread ID:





62193 Jun 9,2007 01:23 PM UTC Jun 11,2007 06:13 AM UTC WinForms 1
Tags: Tools
Christoph Gasser
Asked On June 9, 2007 01:23 PM UTC


I've a couple of toolbars that are changig depending on the module of the software that is currently activ. Therefore I've added a MainFrameBarManager component to the form and added the toolbars. So far so good.

My problem now is, that I want to have all (there are always two active bars) the toolbars in the same row. I tried to achieve this using the following code:

this.mfbm.GetBarControl(this.bar1).RowOffset = 0;
this.mfbm.GetBarControl(this.bar1).RowIndex = 0;
this.mfbm.GetBarControl(this.bar2).RowIndex = 0;
this.mfbm.GetBarControl(this.bar2).RowOffset = this.mfbm.GetBarControl(this.bar1).Width;

Also changing the RowIndex of bar2 to 1 or higher brings no success. Any idea how to get the bars in one single row?

JayaLakshmi [Syncfusion]
Replied On June 11, 2007 06:13 AM UTC

Hi Christoph,

Thank you for your interest in Syncfusion products.

I could able to get the two bars in the same row with the code snippet you used. Also the position of bars gets changed when you incremented the values of RowIndex and RowOffset properties.

Could you please try to modify the below sample and reproduce the same.

Also kindly let me know the Essential studio version you are using now.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon