Skip to main content

SearchText Property

Gets the text that is used to filter items in the ItemsSource item collection.

Definition

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

public string? SearchText { get; }

Property Value

String
The text that is used to filter items in the ItemsSource item collection.

Remarks

The SearchText value is typically the same as the Text property, but is set after the TextChanged event occurs and before the Populating event.

See Also

Reference

AutoCompleteBox Class
Avalonia.Controls Namespace