AutoCompleteTextView.Threshold 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳使用者在下拉選單顯示前必須輸入的字元數。 -或- 指定使用者在下拉選單顯示前,必須在編輯框中輸入的最少字元數。
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
屬性值
顯示下拉選單所需的最小字元數
- 屬性
備註
財產取得者文件:
回傳使用者在下拉選單顯示前必須輸入的字元數。
Java 文件 android.widget.AutoCompleteTextView.getThreshold()。
屬性設定文件:
指定使用者在下拉選單顯示前,必須在編輯框中輸入的最少字元數。
當 小於或等於 0 時 threshold ,會套用一個閾值 1。
Java 文件 android.widget.AutoCompleteTextView.setThreshold(int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。