VGridControlBase.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.XtraVerticalGrid
Assembly: DevExpress.XtraVerticalGrid.v25.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid
Declaration
Property Value
| Type | Description |
|---|---|
| VGridOptionsLayout | An object that contains options for controlling how the layout is stored and restored. |
Remarks
The following methods save the vertical or property grid’s layout:
- VGridControlBase.SaveLayoutToRegistry
- VGridControlBase.SaveLayoutToStream
- VGridControlBase.SaveLayoutToXml
- VGridControlBase.SaveLayoutToJson
The following methods restore the layout:
- VGridControlBase.RestoreLayoutFromRegistry
- VGridControlBase.RestoreLayoutFromStream
- VGridControlBase.RestoreLayoutFromXml
- VGridControlBase.RestoreLayoutFromJson
The options provided by the OptionsLayout property are in effect for SaveLayoutTo… and RestoreLayoutFrom… method overloads that do not have a parameter of the OptionsLayoutBase type.
Tip
Handle PropertySerializing and PropertyDeserializing events for fine-grained control over layout saving/restoring.