ViewGroup.DescendantFocusability 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
獲得此視圖群組後代焦點。
public virtual Android.Views.DescendantFocusability DescendantFocusability { [Android.Runtime.Register("getDescendantFocusability", "()I", "GetGetDescendantFocusabilityHandler")] get; [Android.Runtime.Register("setDescendantFocusability", "(I)V", "GetSetDescendantFocusability_IHandler")] set; }
[<get: Android.Runtime.Register("getDescendantFocusability", "()I", "GetGetDescendantFocusabilityHandler")>]
[<set: Android.Runtime.Register("setDescendantFocusability", "(I)V", "GetSetDescendantFocusability_IHandler")>]
member this.DescendantFocusability : Android.Views.DescendantFocusability with get, set
屬性值
其中之一#FOCUS_BEFORE_DESCENDANTS、#FOCUS_AFTER_DESCENDANTS、。 #FOCUS_BLOCK_DESCENDANTS
- 屬性
備註
財產取得者文件:
獲得此視圖群組後代焦點。 後代聚焦性定義了該視圖群與其後代在尋找要聚焦的 #requestFocus(int, android.graphics.Rect)視角時的關係。
Java 文件 android.view.ViewGroup.getDescendantFocusability()。
屬性設定文件:
設定此視圖群組的後代聚焦性。 這定義了該視圖群與其後代群之間的關係,當尋找一個視角要聚焦時 #requestFocus(int, android.graphics.Rect)。
Java 文件 android.view.ViewGroup.setDescendantFocusability(int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。