Back to Devexpress

DxTreeView.FilterMinLength Property

blazor-devexpress-dot-blazor-dot-dxtreeview-0ce68fbe.md

latest1.5 KB
Original Source

DxTreeView.FilterMinLength Property

Specifies the minimum number of characters a user must type in the search box to apply the filter.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(3)]
[Parameter]
public int FilterMinLength { get; set; }

Property Value

TypeDefaultDescription
Int323

The minimum length.

|

Remarks

Use the FilterMinLength property to specify the FilterString property value’s length at which the component starts to filter its nodes. If the FilterString length is less than FilterMinLength, the component does nothing. Note that this property also affects the filter operation that you execute from code.

The following example sets the FilterMinLength property value to 4:

razor
<DxTreeView ShowFilterPanel="true"
            FilterMinLength="4"
            FilterMode="NavigationFilterMode.Nodes">
    @* ... *@
</DxTreeView>

See Also

DxTreeView Class

DxTreeView Members

DevExpress.Blazor Namespace