Share via


AutoCompleteTextView.Threshold Property

Definition

Returns the number of characters the user must type before the drop down list is shown. -or- Specifies the minimum number of characters the user has to type in the edit box before the drop down list is shown.

public virtual int Threshold { [Android.Runtime.Register("getThreshold", "()I", "GetGetThresholdHandler")] get; [Android.Runtime.Register("setThreshold", "(I)V", "GetSetThreshold_IHandler")] set; }
[<get: Android.Runtime.Register("getThreshold", "()I", "GetGetThresholdHandler")>]
[<set: Android.Runtime.Register("setThreshold", "(I)V", "GetSetThreshold_IHandler")>]
member this.Threshold : int with get, set

Property Value

the minimum number of characters to type to show the drop down

Attributes

Remarks

Property getter documentation:

Returns the number of characters the user must type before the drop down list is shown.

Java documentation for android.widget.AutoCompleteTextView.getThreshold().

Property setter documentation:

Specifies the minimum number of characters the user has to type in the edit box before the drop down list is shown.

When threshold is less than or equals 0, a threshold of 1 is applied.

Java documentation for android.widget.AutoCompleteTextView.setThreshold(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also