CardViewExtension.GetViewModel(String) Method
Returns the CardView’s view model object that maintains the extension state and provides the capacity to populate itself with data when the CardView is used in custom data binding mode.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public static CardViewModel GetViewModel(
string name
)
#Parameters
Name | Type | Description |
---|---|---|
name | String | A string value that is the unique identifier name (Settings |
#Returns
Type | Description |
---|---|
Card |
A Card |
#Remarks
Refer to the Custom Data Binding topic to learn more.