TextView.HasSelection 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回 true iff 在此文字檢視內有非零長度的選取範圍。
public virtual bool HasSelection { [Android.Runtime.Register("hasSelection", "()Z", "GetHasSelectionHandler")] get; }
[<get: Android.Runtime.Register("hasSelection", "()Z", "GetHasSelectionHandler")>]
member this.HasSelection : bool
屬性值
電流具有選擇值。
- 屬性
備註
傳回 true iff 在此文字檢視內有非零長度的選取範圍。
Java 文件 android.widget.TextView.hasSelection()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。