Skip to main content

VGridControlBase.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.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid


public VGridOptionsLayout OptionsLayout { get; }

Property Value

Type Description

An object that contains options for controlling how the layout is stored and restored.


Use the VGridControlBase.SaveLayoutToRegistry, VGridControlBase.SaveLayoutToStream and VGridControlBase.SaveLayoutToXml methods to save the control’s layout. To restore the saved layout, use the VGridControlBase.RestoreLayoutFromRegistry, VGridControlBase.RestoreLayoutFromStream and VGridControlBase.RestoreLayoutFromXml methods.

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 OptionsLayoutBase type.


Handle the PropertySerializing and PropertyDeserializing events for fine-grained control over layout saving/restoring.

See Also