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

Declaration

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

Property Value

Type Description
VGridOptionsLayout

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

Remarks

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.

See Also