MinimumPrefixLength Property
Gets or sets the minimum number of characters required to be entered in the text box before the AutoCompleteBox displays possible matches.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public int MinimumPrefixLength { get; set; }
Public Property MinimumPrefixLength As Integer
Get
Set
member MinimumPrefixLength : int with get, set
Property Value
Int32
The minimum number of characters to be entered in the text box before the AutoCompleteBox displays possible matches. The default is 1.
Remarks
If you set MinimumPrefixLength to -1, the AutoCompleteBox will not provide possible matches. There is no maximum value, but setting MinimumPrefixLength to value that is too large will prevent the AutoCompleteBox from providing possible matches as well.