A newer version of this page is available. Switch to the current version.

CardViewSettings.SettingsBehavior Property

Provides access to the CardView's behavior settings.

Namespace: DevExpress.Web.Mvc

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


public ASPxCardViewBehaviorSettings SettingsBehavior { get; }
Public ReadOnly Property SettingsBehavior As ASPxCardViewBehaviorSettings

Property Value

Type Description

An ASPxCardViewBehaviorSettings object containing the CardView's behavior settings.


var cardView = Html.DevExpress().CardView(settings =>
    settings.Name = "CardView";
    settings.CallbackRouteValues = new { Controller = "Home", Action = "CardViewPartial" };
    settings.KeyFieldName = "ID";

    settings.SettingsBehavior.AllowSelectByCardClick = true;
See Also