Skip to main content

CardViewSettings.Settings Property

Provides access to the CardView’s display options.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public ASPxCardViewSettings Settings { get; }

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