Articles in this section
Category / Section

How to persist BarItems which are created during runtime in MainFrameBarManager?

1 min read

Load and save custom data

Properties AutoSaveCustomData and AutoLoadCustomData of the MainFrameBarManager automatically saves and loads user's customization data such as adding and removing Bars and BarItems when customization target form is closed. Please refer the below code snippet which illustrates this:

C#

this.mainFrameBarManager.AutoLoadCustomData = true;
this.mainFrameBarManager.AutoSaveCustomData = true;

VB

Me.mainFrameBarManager.AutoLoadCustomData = True
Me.mainFrameBarManager.AutoSaveCustomData = True

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied