OptionsLayoutTreeList.StoreAppearance Property

Gets or sets whether the control's appearance settings are also stored when the layout is saved to storage, and restored when the layout is restored from storage.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
[DXCategory("Options")]
public bool StoreAppearance { get; set; }
<DefaultValue(False)>
<XtraSerializableProperty>
<DXCategory("Options")>
Public Property StoreAppearance As Boolean

Property Value

Type Default Description
Boolean

false

true if the control's appearance settings are included in the layout when it's saved to storage and these settings are restored when the layout is restored from storage; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to StoreAppearance
WinForms Controls GanttControl
.OptionsLayout.StoreAppearance
ResourcesTree
.OptionsLayout.StoreAppearance
TreeList
.OptionsLayout.StoreAppearance
Reporting XRDesignFieldList
.OptionsLayout.StoreAppearance
XRDesignFieldList
.OptionsLayout.StoreAppearance
XRDesignReportExplorer
.OptionsLayout.StoreAppearance
XRDesignReportExplorer
.OptionsLayout.StoreAppearance

Remarks

This option determines if the control's appearance settings are included in the control's layout when it's saved to storage (a stream, xml file or the system registry).

If the layout is being restored from storage and the StoreAppearance option is set to true, the control will try to load the appropriate options from storage. If these options cannot be found in the stored layout, the control's corresponding options will be set to their default values.

See Also