Skip to main content

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

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

Declaration

[DXCategory("Options")]
public OptionsLayoutGrid OptionsLayout { get; }

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