Skip to main content
A newer version of this page is available. .

DxTreeView.FilterString Property

Specifies the filter criteria used to filter the component’s nodes.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public string FilterString { get; set; }

Property Value

Type Description
String

The filter criteria.

Remarks

Users can specify the filter criteria in the Filter Panel. Use the FilterString property to specify the filter criteria from code:

<DxTreeView @ref="@treeView"
            ShowFilterPanel="true"
            FilterString="May"
            FilterMode="NavigationFilterMode.Nodes"
            CssClass="cw-480"
            Data="@DataSource"
            LoadChildNodesOnDemand="true">
    <DataMappings>
        <DxTreeViewDataMapping HasChildren="HasSubGroups"
                               Children="SubGroups"
                               Text="Title" />
    </DataMappings>
</DxTreeView>

Filter String

See Also