語言

TextView.IsTextSelectable 屬性

定義

傳回旗標的狀態 textIsSelectable (請參閱 #setTextIsSelectable setTextIsSelectable())。

public virtual bool IsTextSelectable { [Android.Runtime.Register("isTextSelectable", "()Z", "GetIsTextSelectableHandler")] get; }
[<get: Android.Runtime.Register("isTextSelectable", "()Z", "GetIsTextSelectableHandler")>]
member this.IsTextSelectable : bool

屬性值

如果使用者可以選擇此 TextView 中顯示的文字,則為真。

屬性

備註

傳回旗標的狀態 textIsSelectable (請參閱 #setTextIsSelectable setTextIsSelectable())。 雖然您必須設定此旗標,讓使用者能選擇並複製不可編輯的 TextView 文字,但 的內容 EditText 始終可被選擇,且不受旗標值影響。

Java 文件 android.widget.TextView.isTextSelectable()

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於