MVCxVerticalGridRowCollection<ColumnType>.AddCategory<ValueType>(Expression<Func<ColumnType, ValueType>>) Method
Adds a new category row to the collection and allows you to bind this row to the specified model field.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
public MVCxVerticalGridCategoryRow<ColumnType> AddCategory<ValueType>(
Expression<Func<ColumnType, ValueType>> expression
)
Parameters
Name | Type | Description |
---|---|---|
expression | Expression<Func<ColumnType, ValueType>> | The expression that identifies the data model field to which the row is bound. |
Type Parameters
Name |
---|
ValueType |
Returns
Type | Description |
---|---|
MVCxVerticalGridCategoryRow<ColumnType> | A MVCxVerticalGridCategoryRow<ColumnType> object that is the newly added category row. |
See Also