TextView.SetTextSelectHandle(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定對應至選取句柄的 Drawable,用於將游標放置在文字中。
[Android.Runtime.Register("setTextSelectHandle", "(I)V", "GetSetTextSelectHandle_IHandler", ApiSince=29)]
public virtual void SetTextSelectHandle(int textSelectHandle);
[<Android.Runtime.Register("setTextSelectHandle", "(I)V", "GetSetTextSelectHandle_IHandler", ApiSince=29)>]
abstract member SetTextSelectHandle : int -> unit
override this.SetTextSelectHandle : int -> unit
參數
- textSelectHandle
- Int32
int
- 屬性
備註
設定對應至選取句柄的 Drawable,用於將游標放置在文字中。 可繪製物件預設為 textSelectHandle 屬性的值。 請注意,對可繪製的握柄所做的任何變更,直到握把被隱藏並重新繪製時,都不會被看見。
Java 文件 android.widget.TextView.setTextSelectHandle(int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。