Skip to main content

ExtensionsFactory.FilterControl<RowType>(MVCxFilterControlSettings<RowType>) Method

Creates a Filter Control.

Namespace: DevExpress.Web.Mvc.UI

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public FilterControlExtension<RowType> FilterControl<RowType>(
    MVCxFilterControlSettings<RowType> settings
)
    where RowType : class

Parameters

Name Type Description
settings MVCxFilterControlSettings<RowType>

A MVCxFilterControlSettings<RowType> object containing the Filter Control.

Type Parameters

Name
RowType

Returns

Type Description
FilterControlExtension<RowType>

A FilterControlExtension<RowType> object implementing the Filter Control functionality.

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