Skip to main content

DxTreeView.FilterString Property

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(null)]
[Parameter]
public string FilterString { get; set; }

Property Value

Type Default Description
String null

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