Android.Views.View.IsImportantForAccessibility Property
Computes whether this view should be exposed for accessibility.

Syntax

[get: Android.Runtime.Register("isImportantForAccessibility", "()Z", "GetIsImportantForAccessibilityHandler")]
public virtual bool IsImportantForAccessibility { get; }

See Also

View.ImportantForAccessibility
View.ImportantForAccessibility

Value

Documentation for this section has not yet been entered.

Remarks

Computes whether this view should be exposed for accessibility. In general, views that are interactive or provide information are exposed while views that serve only as containers are hidden.

If an ancestor of this view has importance View.ImportantForAccessibilityNoHideDescendants, this method returns false.

Otherwise, the value is computed according to the view's View.ImportantForAccessibility value:

  1. View.ImportantForAccessibilityNo or View.ImportantForAccessibilityNoHideDescendants, return false
  2. View.ImportantForAccessibilityYes, return true
  3. View.ImportantForAccessibilityAuto, return true if view satisfies any of the following:
    • Is actionable, e.g. View.Clickable, View.LongClickable, or View.Focusable
    • Has an NoType:android/view/View$AccessibilityDelegate;Href=../../../reference/android/view/View.AccessibilityDelegate.html
    • Has an interaction listener, e.g. NoType:android/view/View$OnTouchListener;Href=../../../reference/android/view/View.OnTouchListener.html, NoType:android/view/View$OnKeyListener;Href=../../../reference/android/view/View.OnKeyListener.html, etc.
    • Is an accessibility live region, e.g. View.AccessibilityLiveRegion is not View.AccessibilityLiveRegionNone.

    [Android Documentation]

    Requirements

    Namespace: Android.Views
    Assembly: Mono.Android (in Mono.Android.dll)
    Assembly Versions: 0.0.0.0
    Since: Added in API level 1