Back to Devexpress

VGridControlBase.OptionsLayout Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-vgridcontrolbase-5470818f.md

latest3.2 KB
Original Source

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.2.dll

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

Declaration

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

Property Value

TypeDescription
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

Save and Restore Layouts of DevExpress controls

VGridControlBase Class

VGridControlBase Members

DevExpress.XtraVerticalGrid Namespace