Skip to main content
Tab

ASPxCardViewBehaviorSettings Class

Provides behavior options for ASPxCardViews.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public class ASPxCardViewBehaviorSettings :
    ASPxGridBehaviorSettings

The following members return ASPxCardViewBehaviorSettings objects:

Library Related API Members
ASP.NET Web Forms Controls ASPxCardView.SettingsBehavior
ASP.NET MVC Extensions CardViewSettings.SettingsBehavior

Remarks

The ASPxCardViewBehaviorSettings class provides a set of Boolean properties that control an ASPxCardView‘s behavior. These options can be accessed via the ASPxCardView’s ASPxCardView.SettingsBehavior property.

Example

MVC:

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

    settings.SettingsBehavior.AllowSelectByCardClick = true;
    ...
});

Implements

See Also