windowsforms-devexpress-dot-xtratreelist-dot-treelist-fc2d4d49.md
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.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
public OptionsLayoutTreeList OptionsLayout { get; }
Public ReadOnly Property OptionsLayout As OptionsLayoutTreeList
| Type | Description |
|---|---|
| OptionsLayoutTreeList |
An OptionsLayoutTreeList object that provides the corresponding options.
|
The following methods save the TreeList’s layout:
The following methods restore the TreeList’s layout:
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.
See Also