MVCxFilterControlColumnCollection<RowType>.Add<ValueType>(Expression<Func<RowType, ValueType>>, Action<MVCxFilterControlColumn>) Method
Adds the column to the collection.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
public MVCxFilterControlColumn Add<ValueType>(
Expression<Func<RowType, ValueType>> expression,
Action<MVCxFilterControlColumn> method
)
Parameters
Name | Type | Description |
---|---|---|
expression | Expression<Func<RowType, ValueType>> | The expression that identifies the data model field to which the column is bound. |
method | Action<MVCxFilterControlColumn> | A delegate method that accepts the created MVCxFilterControlColumn as a parameter. |
Type Parameters
Name |
---|
ValueType |
Returns
Type | Description |
---|---|
MVCxFilterControlColumn | A MVCxFilterControlColumn object that is the newly added column. |
See Also