AutoCompleteBox.

MinimumPrefixLength Property

Summary

Gets or sets the minimum number of characters required to be entered in the text box before the AutoCompleteBox displays possible matches. matches.
Namespace
Avalonia.Controls
Containing Type
AutoCompleteBox

Syntax

public int MinimumPrefixLength { get; set; }

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.

Value

Type Description
int The minimum number of characters to be entered in the text box before the AutoCompleteBox displays possible matches. The default is 1.