CardViewSettings.SettingsBehavior Property

Provides access to the CardView's behavior settings.

Namespace: DevExpress.Web.Mvc

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

Declaration

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

Property Value

Type Description
ASPxCardViewBehaviorSettings

An ASPxCardViewBehaviorSettings object containing the CardView's behavior settings.

Remarks

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