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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Problem with showing MainframeBarManager Bar items after closing it during runtime

Thread ID:





13705 May 7,2004 12:43 AM UTC May 7,2004 01:20 AM UTC WinForms 1
Tags: Tools
Vincent Loy Chee Hoon
Asked On May 7, 2004 12:43 AM UTC

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 7, 2004 01:20 AM UTC

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.


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

Live Chat Icon For mobile
Live Chat Icon