CardViewSettings.SettingsBehavior Property
Provides access to the CardView’s behavior settings.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
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