Back to Devexpress

TreeList.OptionsLayout Property

windowsforms-devexpress-dot-xtratreelist-dot-treelist-fc2d4d49.md

latest3.8 KB
Original Source

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.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

csharp
public OptionsLayoutTreeList OptionsLayout { get; }
vb
Public ReadOnly Property OptionsLayout As OptionsLayoutTreeList

Property Value

TypeDescription
OptionsLayoutTreeList

An OptionsLayoutTreeList object that provides the corresponding options.

|

Remarks

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

SaveLayoutToRegistry

SaveLayoutToStream

SaveLayoutToXml

SaveLayoutToJson

RestoreLayoutFromRegistry

RestoreLayoutFromStream

RestoreLayoutFromXml

RestoreLayoutFromJson

Save and Restore Layouts of DevExpress controls

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace