aspnet-devexpress-dot-web-d8d61c60.md
Provides behavior options for ASPxCardViews.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public class ASPxCardViewBehaviorSettings :
ASPxGridBehaviorSettings
Public Class ASPxCardViewBehaviorSettings
Inherits ASPxGridBehaviorSettings
The following members return ASPxCardViewBehaviorSettings objects:
| Library | Related API Members |
|---|---|
| ASP.NET Web Forms Controls | ASPxCardView.SettingsBehavior |
| ASP.NET MVC Extensions | CardViewSettings.SettingsBehavior |
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.
MVC:
var cardView = Html.DevExpress().CardView(settings =>
{
settings.Name = "CardView";
settings.CallbackRouteValues = new { Controller = "Home", Action = "CardViewPartial" };
settings.KeyFieldName = "ID";
settings.SettingsBehavior.AllowSelectByCardClick = true;
...
});
Object StateManager PropertiesBase ASPxGridSettingsBase ASPxGridBehaviorSettings ASPxCardViewBehaviorSettings BootstrapCardViewBehaviorSettings
See Also