MVCxVerticalGridRowCollection<ColumnType>.Add<ValueType>(Expression<Func<ColumnType, ValueType>>, Action<MVCxVerticalGridRow>) Method
Adds a new row to the collection and allows you to customize this row in a delegate method implementation.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
public MVCxVerticalGridRow<ColumnType> Add<ValueType>(
Expression<Func<ColumnType, ValueType>> expression,
Action<MVCxVerticalGridRow> method
)
Parameters
Name | Type | Description |
---|---|---|
expression | Expression<Func<ColumnType, ValueType>> | The expression that identifies the data model field to which the row is bound. |
method | Action<MVCxVerticalGridRow> | A delegate method that accepts the created MVCxVerticalGridRow as a parameter. |
Type Parameters
Name |
---|
ValueType |
Returns
Type | Description |
---|---|
MVCxVerticalGridRow<ColumnType> | An MVCxVerticalGridRow<ColumnType> object that is the newly added Vertical Grid row. |
See Also