Back to Devexpress

ASPxCardViewBehaviorSettings Class

aspnet-devexpress-dot-web-d8d61c60.md

latest2.5 KB
Original Source

ASPxCardViewBehaviorSettings Class

Provides behavior options for ASPxCardViews.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public class ASPxCardViewBehaviorSettings :
    ASPxGridBehaviorSettings
vb
Public Class ASPxCardViewBehaviorSettings
    Inherits ASPxGridBehaviorSettings

The following members return ASPxCardViewBehaviorSettings objects:

LibraryRelated API Members
ASP.NET Web Forms ControlsASPxCardView.SettingsBehavior
ASP.NET MVC ExtensionsCardViewSettings.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:

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

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

Implements

IStateManager

Inheritance

Object StateManager PropertiesBase ASPxGridSettingsBase ASPxGridBehaviorSettings ASPxCardViewBehaviorSettings BootstrapCardViewBehaviorSettings

See Also

ASPxCardViewBehaviorSettings Members

SettingsBehavior

Card View

DevExpress.Web Namespace