blazor-devexpress-dot-blazor-dot-dxtreeview-33ecf644.md
Specifies the filter criteria used to filter the component’s nodes.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[DefaultValue(null)]
[Parameter]
public string FilterString { get; set; }
| Type | Default | Description |
|---|---|---|
| String | null |
The filter criteria.
|
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>
See Also