Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2115
Save the ToolbarsManager as Binary is updated
posted

If save a ToolbarsManager as Binary to a MemoryStream.

After this save, I add some extra Tabs and Buttons to the ToolbarsManager. 

Apparently, the MemoryStream is updated when adding controls. 

Is there way to avoid this? I need to take a snapshot at specific moment.

    ribbonStream = new System.IO.MemoryStream();

    toolbarsManager.SaveAsBinary(ribbonStream, true);