CardViewSettings.Settings Property
Provides access to the CardView’s display options.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
ASPxCardViewSettings | An ASPxCardViewSettings object containing the CardView’s display options. |
Remarks
var cardView = Html.DevExpress().CardView(settings =>
{
settings.Name = "CardView";
settings.CallbackRouteValues = new { Controller = "Home", Action = "CardViewPartial" };
settings.KeyFieldName = "ID";
settings.Settings.ShowHeaderPanel = true;
settings.Settings.ShowHeaderFilterButton = true;
...
});
See Also