FilterMode Property
Gets or sets how the text in the text box is used to filter items specified by the ItemsSource property for display in the drop-down.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public AutoCompleteFilterMode FilterMode { get; set; }
Public Property FilterMode As AutoCompleteFilterMode
Get
Set
member FilterMode : AutoCompleteFilterMode with get, set
Property Value
AutoCompleteFilterMode
One of the AutoCompleteFilterMode values The default is StartsWith.
Remarks
Use the FilterMode property to specify how possible matches are filtered. For example, possible matches can be filtered in a predefined or custom way. The search mode is automatically set to Custom if you set the ItemFilter property.
Exceptions
ArgumentException | The specified value is not a valid AutoCompleteFilterMode. |