ColumnView.OptionsLayout Property

Provides options which control how the current View's layout is stored to/restored from a data store (a stream, xml file or system registry).

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[DXCategory("Options")]
public OptionsLayoutGrid OptionsLayout { get; }
<DXCategory("Options")>
Public ReadOnly Property OptionsLayout As OptionsLayoutGrid

Property Value

Type Description
OptionsLayoutGrid

A OptionsLayoutGrid descendant which provides options for controlling how the layout is stored and restored.

Remarks

The OptionsLayout object provides a number of options that control how the current View's layout is stored to and restored from a data store (a stream, xml file or system registry).

The LayoutView doesn't support restoring a field if there is no corresponding bound column. The OptionsColumnLayout.RemoveOldColumns option must be set to true.

NOTE

All objects (columns, bands, etc) in the layout are identified by their names.

See the Layout Options (XtraGrid, XtraPivotGrid) topic, for information on the options.

See Also