ExtensionsFactory.CardView<CardType>(Action<CardViewSettings<CardType>>) Method
Creates a CardView.
Namespace: DevExpress.Web.Mvc.UI
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public CardViewExtension<CardType> CardView<CardType>(
Action<CardViewSettings<CardType>> method
)
where CardType : class
#Parameters
Name | Type | Description |
---|---|---|
method | Action<Card |
A Card |
#Type Parameters
Name |
---|
Card |
#Returns
Type | Description |
---|---|
Card |
A Card |
#Remarks
To enable binding CardView columns to Model fields using lambdas, it is required to declare the CardView extension using the CardView<CardType> strongly-typed declaration method.
Note
The partial View with the Card