BaseView.OptionsLayout Property

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

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

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

Property Value

Type Description
OptionsLayoutBase

A OptionsLayoutBase descendant, providing options that control how the layout is stored and restored.

Remarks

The OptionsLayout property is overridden by derived classes, to provide the appropriate functionality.

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

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

Implements

DevExpress.Utils.Serializing.Helpers.IOptionsLayoutProvider.OptionsLayout
See Also