Skip to main content

ItemFilter Property

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

Definition

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

public AutoCompleteFilterPredicate<Object?>? ItemFilter { get; set; }

Property Value

AutoCompleteFilterPredicate(Object)
The custom method that uses the user-entered text to filter the items specified by the ItemsSource property. The default is null.

Remarks

The filter mode is automatically set to Custom if you set the ItemFilter property.

See Also

Reference

AutoCompleteBox Class
Avalonia.Controls Namespace