ExtensionsFactory.FilterControl<RowType>(MVCxFilterControlSettings<RowType>) Method
In This Article
Creates a Filter Control.
Namespace: DevExpress.Web.Mvc.UI
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public FilterControlExtension<RowType> FilterControl<RowType>(
MVCxFilterControlSettings<RowType> settings
)
where RowType : class
#Parameters
Name | Type | Description |
---|---|---|
settings | MVCx |
A MVCx |
#Type Parameters
Name |
---|
Row |
#Returns
Type | Description |
---|---|
Filter |
A Filter |
#Remarks
To enable binding the filter control to Model fields using lambdas, it is required to declare the Filter Control extension using the FilterControl<RowType> strongly-typed declaration method.
Note
The partial View with the Filter Control extension does not need to be strongly-typed.
See Also