ASPxCardViewSettings.LayoutMode Property
Gets or sets the current layout mode for the ASPxCardView.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Layout | Table | 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. |
#Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to Layout |
---|---|---|
ASP. |
Card |
|
ASP. |
ASPx |
|
#Remarks
The LayoutMode property allows you to choose a layout mode for the ASPxCardView.
...
<Styles FlowCard-Height="260" />
...
Note
The ASPx
Card View does not allows end users to group cards if the control is in table layout mode (ASPx Card View1. Settings. Layout Mode = Layout Mode. Table) Cards have fixed height (specified in the .dxcv
Flow Layout.Card_ <Theme Name> CSS selector) when the control is in Flow layout mode. Use the ASPxCard (CardView. Styles. Flow Card. Height View ) property to set a custom card’s height in this mode.Card Style. Height