Skip to main content

CardViewModel.LayoutMode Property

Gets or sets the current layout mode for the CardView.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public Layout LayoutMode { get; set; }

Property Value

Type Description
Layout

A Layout enumerator value that specifies the current layout mode.

Available values:

Name Description
Table

Data items are displayed using the fixed table layout with the specified column and row count.

Flow

Data items flow one after another, to fill the available page area.

Breakpoints

Organizes items according to custom layout scenarios for different browser widths.

Remarks

The LayoutMode property allows you to choose a layout mode for the CardView.

See Also