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.

Problem with showing MainframeBarManager Bar items after closing it during runtime

Thread ID:

Created:

Updated:

Platform:

Replies:

13705 May 6,2004 08:43 PM May 6,2004 09:20 PM Windows Forms 1
loading
Tags: Tools
Vincent Loy Chee Hoon
Asked On May 6, 2004 08:43 PM

I had created a window form and added the Dockingmanager and MainFrameBarManager controls onto the form. I was able to create the Bars and show it on the form using the MainFrameBarManager. But I was unable to show it again when I close the Bar during runtime. And I couldn''t find which property inside the mainframeBarManager to "reactivate" the bar to show it during runtime. Please advice me how to resolve this problem. Thanks

Administrator [Syncfusion]
Replied On May 6, 2004 09:20 PM

Hi Vincent, You could hide/show a XPMenus.Bar by getting hold of the CommandBarExt object associated with that Bar and setting its Visible property to false/true. CommandBarExt cmdBarExt1 = this.mainFrameBarManager1.GetBarControl(this.bar1) as CommandBarExt; cmdBarExt1.Visible = false; I have attached a sample application that demonstrates this. Thanks for choosing Syncfusion products. 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.

;