View.ImportantForAccessibility Property

Definition

Gets the mode for determining whether this View is important for accessibility. -or- Sets how to determine whether this view is important for accessibility which is if it fires accessibility events and if it is reported to accessibility services that query the screen.

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

Property Value

The mode for determining whether a view is important for accessibility, one of #IMPORTANT_FOR_ACCESSIBILITY_AUTO, #IMPORTANT_FOR_ACCESSIBILITY_YES, #IMPORTANT_FOR_ACCESSIBILITY_NO, or #IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS.

Attributes

Remarks

Property getter documentation:

Gets the mode for determining whether this View is important for accessibility. A view is important for accessibility if it fires accessibility events and if it is reported to accessibility services that query the screen.

Java documentation for android.view.View.getImportantForAccessibility().

Property setter documentation:

Sets how to determine whether this view is important for accessibility which is if it fires accessibility events and if it is reported to accessibility services that query the screen.

Java documentation for android.view.View.setImportantForAccessibility(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also