Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxTreeView.FilterString Property

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[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:

razor
<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