LayoutViewOptionsView.ViewMode Property

Gets or sets the card layout.

Namespace: DevExpress.XtraGrid.Views.Layout

Assembly: DevExpress.XtraGrid.v20.1.dll


public virtual LayoutViewMode ViewMode { get; set; }
Public Overridable Property ViewMode As LayoutViewMode

Property Value

Type Default Description


A LayoutViewMode value.

Property Paths

You can access this nested property as listed below:

Object Type Path to ViewMode


Use the ViewMode property to specify how cards are arranged within a View.

An end-user can switch between display modes by clicking a corresponding button within the Header Panel. You can disable this feature by setting a corresponding Enable...Button option to false. These options are available via the LayoutView.OptionsHeaderPanel object.

To specify how cards are arranged when a View is printed, see the LayoutViewOptionsPrint.PrintMode property.

See Also