Skip to main content

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

public OptionsLayoutTreeList OptionsLayout { get; }

Property Value

Type Description
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