Skip to main content

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

public VGridOptionsLayout OptionsLayout { get; }

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:

The following methods restore the layout:

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.

See Also