CardViewSettings.SettingsBehavior Property
Provides access to the CardView’s behavior settings.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public ASPxCardViewBehaviorSettings SettingsBehavior { get; }
#Property Value
Type | Description |
---|---|
ASPx |
An ASPx |
#Remarks
var cardView = Html.DevExpress().CardView(settings =>
{
settings.Name = "CardView";
settings.CallbackRouteValues = new { Controller = "Home", Action = "CardViewPartial" };
settings.KeyFieldName = "ID";
settings.SettingsBehavior.AllowSelectByCardClick = true;
...
});