ASPxCardViewSettings.ShowGroupSelector Property
In This Article
Specifies whether the card view displays the group selector.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Boolean | false |
|
#Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to Show |
---|---|---|
ASP. |
Card |
|
ASP. |
ASPx |
|
#Remarks
Note
The ASPx
#Example
Web Forms:
<dx:ASPxCardView ID="CardView" runat="server" >
<Columns>
<dx:CardViewImageColumn FieldName="PhotoUrl" Caption="Photo" />
<dx:CardViewTextColumn FieldName="Brand" GroupIndex="0" />
...
</Columns>
<Settings LayoutMode="Breakpoints" ShowGroupSelector="true" ShowHeaderPanel="true" />
...
</dx:ASPxCardView>
MVC:
Html.DevExpress().CardView<Headphone>(settings => {
settings.Name = "cardView";
settings.Columns.Add(c => {
c.FieldName = "Brand";
c.GroupIndex = 0;
});
...
settings.Settings.ShowGroupSelector = true;
settings.Settings.ShowHeaderPanel = true;
}).Bind(Model).GetHtml();
#Concept
- Web Forms: Group Cards
#Online Demo
- Web Forms: ASPxCardView - Grouping
- MVC: CardView - Grouping
See Also