MVCxVerticalGridRowCollection<ColumnType>.AddCategory<ValueType>(Expression<Func<ColumnType, ValueType>>, Action<MVCxVerticalGridCategoryRow<ColumnType>>) Method
In This Article
Adds a new category row to the collection and allows you to bind this row to a model field via a lambda expression and to customize this row in a delegate method implementation.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public MVCxVerticalGridCategoryRow<ColumnType> AddCategory<ValueType>(
Expression<Func<ColumnType, ValueType>> expression,
Action<MVCxVerticalGridCategoryRow<ColumnType>> method
)
#Parameters
Name | Type | Description |
---|---|---|
expression | Expression<Func<Column |
The expression that identifies the data model field to which the row is bound. |
method | Action<MVCx |
A delegate method that accepts the created MVCx |
#Type Parameters
Name |
---|
Value |
#Returns
Type | Description |
---|---|
MVCx |
A MVCx |
See Also