CardViewSettings.Settings Property

Provides access to the CardView's display options.

Namespace: DevExpress.Web.Mvc

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

Declaration

public ASPxCardViewSettings Settings { get; }
Public ReadOnly Property Settings As ASPxCardViewSettings

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