Back to Devexpress

CardViewSettings.Settings Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-cardviewsettings-5d6bb5de.md

latest1.5 KB
Original Source

CardViewSettings.Settings Property

Provides access to the CardView’s display options.

Namespace : DevExpress.Web.Mvc

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

NuGet Package : DevExpress.Web.Mvc5

Declaration

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

Property Value

TypeDescription
ASPxCardViewSettings

An ASPxCardViewSettings object containing the CardView’s display options.

|

Remarks

csharp
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

Card View

CardViewSettings Class

CardViewSettings Members

DevExpress.Web.Mvc Namespace