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

Creates a Filter Control.

Namespace: DevExpress.Web.Mvc.UI

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

Declaration

public FilterControlExtension<RowType> FilterControl<RowType>(
    MVCxFilterControlSettings<RowType> settings
)
    where RowType : class
Public Function FilterControl(Of RowType As Class)(
    settings As MVCxFilterControlSettings(Of RowType)
) As FilterControlExtension(Of RowType)

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