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.
Unfortunately, activation email could not send to your email. Please try again.

Easily show/hide bars in MainFrameBarManager?

Thread ID:

Created:

Updated:

Platform:

Replies:

12918 Apr 15,2004 02:47 AM Apr 16,2004 05:47 AM Windows Forms 3
loading
Tags: Tools
iliyan georgiev
Asked On April 15, 2004 02:47 AM

A have in my project many bars and I want to show/hide some bars programmatically? How could this be done easily? Thanks in advance ;)

Administrator [Syncfusion]
Replied On April 15, 2004 08:10 AM

Hi Iliyan, You could get hold of the CommandBarExt associated with the Bar object and set its Visible property to false for this purpose (as shown in code below). CommandBarExt cmdbar = this.mainFrameBarManager1.GetBarControl(bar) as CommandBarExt; cmdbar.Visible = isVisible; Please refer to the sample attached that illustrates this. Thanks for considering Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

iliyan georgiev
Replied On April 16, 2004 04:42 AM

Thanks, works great ;)

Administrator [Syncfusion]
Replied On April 16, 2004 05:47 AM

Hi Iliyan, Thanks for the update. Please feel free to contact us if you need any other information. Regards, Guru Patwal Syncfusion, Inc.

CONFIRMATION

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.

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.

;