Skip to main content

TextFilter Property

Gets or sets the custom method that uses the user-entered text to filter items specified by the ItemsSource property in a text-based way for display in the drop-down.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public AutoCompleteFilterPredicate<string?>? TextFilter { get; set; }

Property Value

AutoCompleteFilterPredicate(String)
The custom method that uses the user-entered text to filter items specified by the ItemsSource property in a text-based way for display in the drop-down.

Remarks

The search mode is automatically set to Custom if you set the TextFilter property.

See Also

Reference

AutoCompleteBox Class
Avalonia.Controls Namespace