Skip to content

SaveOnlyCustomized Property

Description

The SaveOnlyCustomized property specifies whether to only save CommandBars that have been customized when saving the CommandBars state to an XML string using the SaveStateToXMLString method.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property SaveOnlyCustomized() As Boolean

Remarks

If set to TRUE, only CommandBars that have been customized will be saved. For example, if there are three CommandBars and a button on the second toolbar is removed, then only the second toolbar is saved, assuming that no controls were modified or added on the other toolbars.

If a control on a CommandBar is added, deleted, or modified, then the entire CommandBar is saved to the XML string when SaveOnlyCustomized is TRUE.

By default, SaveOnlyCustomized is TRUE.

See Also

Example

SaveOnlyCustomized Sample


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.