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

AppStateSerializer, MainFrameBarManager & QuickCustomize

Thread ID:





44279 May 18,2006 11:23 PM UTC May 19,2006 07:15 PM UTC WinForms 2
Tags: Tools
Administrator [Syncfusion]
Asked On May 18, 2006 11:23 PM UTC

Is there a way to use AppStateSerializer with a MainFrameBarManager to save the user''s QuickCustomize settings (e.g. turn off/on a BarItem)? I have tried it and it only appears to save the Bar''s docking attributes.

J.Nagarajan [Syncfusion]
Replied On May 19, 2006 03:26 PM UTC

Hi Don, The SaveBarState/LoadBarState methods persist the positional information of the menus/toolbars only. Hiding/showing or adding/removing BarItems/toolbars amounts to menu customization and the MainFrameBarManager''s protected methods - LoadCustomizationInfo/SaveCustomizationInfo handle this. You have to derive a custom mainframeBarManager and use these methods to persist customization. Set the following properties to false and then load the state from a serialized file. This way all the state persistance is done to the same xml file. this.mainFrameBarManager1.AutoLoadToolBarPositions = false; this.mainFrameBarManager1.AutoPersistCustomization = false; Please take a look at the attached sample and let me know if you have any questions. Thank You, J.Nagaraj QuickCustomization.zip

Administrator [Syncfusion]
Replied On May 19, 2006 07:15 PM UTC

Thanks, that does the trick. I really appreciate how responsive you guys are to questions.


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