MVCxCardViewColumnCollection<CardType>.Add<ValueType>(Expression<Func<CardType, ValueType>>) Method
In This Article
Adds a new column to the collection and allows you to bind this column to a model field via a lambda expression.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public MVCxCardViewColumn Add<ValueType>(
Expression<Func<CardType, ValueType>> expression
)
#Parameters
Name | Type | Description |
---|---|---|
expression | Expression<Func<Card |
The expression that identifies the data model field to which the column is bound. |
#Type Parameters
Name |
---|
Value |
#Returns
Type | Description |
---|---|
MVCx |
An MVCx |
See Also