Skip to main content
A newer version of this page is available. .
Tab

ASPxCardViewBehaviorSettings Class

Provides behavior options for ASPxCardViews.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public class ASPxCardViewBehaviorSettings :
    ASPxGridBehaviorSettings

The following members return ASPxCardViewBehaviorSettings objects:

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