Tab
A newer version of this page is available. Switch to the current version.

ASPxCardViewBehaviorSettings Class

Provides behavior options for ASPxCardViews.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public class ASPxCardViewBehaviorSettings :
    ASPxGridBehaviorSettings
Public Class ASPxCardViewBehaviorSettings
    Inherits ASPxGridBehaviorSettings

Related API Members

The following members accept/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