TreeList.OptionsLayout Property
Contains options that specify how a control’s layout is stored to and restored from a data store (a stream, xml file or the system registry).
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v25.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
Declaration
Property Value
Type | Description |
---|---|
OptionsLayoutTreeList | An OptionsLayoutTreeList object that provides the corresponding options. |
Remarks
The following methods save the TreeList’s layout:
- TreeList.SaveLayoutToRegistry
- TreeList.SaveLayoutToStream
- TreeList.SaveLayoutToXml
- TreeList.SaveLayoutToJson
The following methods restore the TreeList’s layout:
- TreeList.RestoreLayoutFromRegistry
- TreeList.RestoreLayoutFromStream
- TreeList.RestoreLayoutFromXml
- TreeList.RestoreLayoutFromJson
The options provided by the OptionsLayout
property are in effect for SaveLayoutTo…
and RestoreLayoutFrom…
method overloads that do not have a parameter of the OptionsLayoutTreeList type.
Tip
Handle PropertySerializing and PropertyDeserializing events for fine-grained control over layout saving/restoring.