Back to Devexpress

ColumnView.OptionsLayout Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-columnview-c165a248.md

latest2.6 KB
Original Source

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

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

Declaration

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

Property Value

TypeDescription
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

Save and Restore Grid Layout

Layout Options (Grid, Pivot Grid, TreeList, Vertical Grid)

Save and Restore Layouts of DevExpress controls

ColumnView Class

ColumnView Members

DevExpress.XtraGrid.Views.Base Namespace