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.v24.2.dll
Declaration
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.
Tip
Handle the PropertySerializing and PropertyDeserializing events for fine-grained control over layout saving/restoring.