A newer version of this page is available. Switch to the current version.

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.v19.1.dll


public OptionsLayoutTreeList OptionsLayout { get; }

Property Value

Type Description

An OptionsLayoutTreeList object that provides the corresponding options.


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