Skip to main content

MVCxTreeListColumn.SetFilterCellTemplateContent(Action<TreeListFilterCellTemplateContainer>) Method

Allows you to specify a template used for displaying the filter cell of the specified column.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public void SetFilterCellTemplateContent(
    Action<TreeListFilterCellTemplateContainer> contentMethod
)

Parameters

Name Type Description
contentMethod Action<TreeListFilterCellTemplateContainer>

A method to which a template content rendering is delegated.

Remarks

Use the SetFilterCellTemplateContent property to define the content of the specified column’s filter cell. The template created using this property replaces the filter cell’s content.

Note

Once a template defined using the SetFilterCellTemplateContent method is created, it is instantiated within a container object of the TemplateContainerBase type. This container object exposes a set of members which can be useful when designing a template.

See Also