SerializeDesignerControls Property
Description
The SerializeDesignerControls property specifies whether to load the CommandBars.DesignerControls collection with the controls that appear in the "Controls" panel in Designer Studio when loading the CommandBars state from an XML string created in the Designer Studio.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property SerializeDesignerControls() As Boolean
Remarks
In the CommandBar Designer, you can export a XCB file to a XML file and load it using LoadFromXMLString. If SerializeDesignerControls is TRUE, then the CommandBars.DesignerControls property will be filled with control items from the CommandBar Designer's "Controls" pane. This allows you to load the XML file by using the LoadFromXMLString method.
NOTE: DesignerControls are the controls displayed in the customization dialog. When saving the state of the CommandBars to a XML string, the controls in the CommandBars.DesignerControls collection are not saved. This is because these controls are automatically generated when opening the XML file in the CommandBar Designer.
By default, SerializeDesignerControls is FALSE.
See Also
Example
See SerializeDesignerControls Sample
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.