TreeList.OptionsLayout Property

Provides access to 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.v20.1.dll

Declaration

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

Property Value

Type Description
OptionsLayoutTreeList

An OptionsLayoutTreeList object that provides the corresponding options.

Remarks

Use the TreeList.SaveLayoutToRegistry, TreeList.SaveLayoutToStream and TreeList.SaveLayoutToXml methods to save the control's layout. To restore the saved layout, use the TreeList.RestoreLayoutFromRegistry, TreeList.RestoreLayoutFromStream or TreeList.RestoreLayoutFromXml method.

The options provided by the OptionsLayout property are in effect for the SaveLayoutTo... and RestoreLayoutFrom... method overloads that do not have a parameter of the OptionsLayoutTreeList type.

See Also