View.ImportantForAccessibility 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得判斷此視圖對無障礙性是否重要的模式。
public virtual Android.Views.ImportantForAccessibility ImportantForAccessibility { [Android.Runtime.Register("getImportantForAccessibility", "()I", "GetGetImportantForAccessibilityHandler")] get; [Android.Runtime.Register("setImportantForAccessibility", "(I)V", "GetSetImportantForAccessibility_IHandler")] set; }
[<get: Android.Runtime.Register("getImportantForAccessibility", "()I", "GetGetImportantForAccessibilityHandler")>]
[<set: Android.Runtime.Register("setImportantForAccessibility", "(I)V", "GetSetImportantForAccessibility_IHandler")>]
member this.ImportantForAccessibility : Android.Views.ImportantForAccessibility with get, set
屬性值
判斷視圖是否對無障礙重要性的模式為 #IMPORTANT_FOR_ACCESSIBILITY_AUTO、 #IMPORTANT_FOR_ACCESSIBILITY_YES、 #IMPORTANT_FOR_ACCESSIBILITY_NO、 #IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS或 。
- 屬性
備註
財產取得者文件:
取得判斷此視圖對無障礙性是否重要的模式。 如果檢視會觸發無障礙事件,且會被回報給查詢螢幕的無障礙服務,那麼該檢視對於無障礙來說就很重要。
Java 文件 android.view.View.getImportantForAccessibility()。
屬性設定文件:
設定如何判斷此檢視是否對無障礙重要,例如是否觸發無障礙事件,以及是否會回報給查詢螢幕的無障礙服務。
Java 文件 android.view.View.setImportantForAccessibility(int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。