Udostępnij za pośrednictwem


View.AccessibilityHeading Property

Definition

Gets whether this view is a heading for accessibility purposes. -or- Set if view is a heading for a section of content for accessibility purposes.

public virtual bool AccessibilityHeading { [Android.Runtime.Register("isAccessibilityHeading", "()Z", "GetIsAccessibilityHeadingHandler", ApiSince=28)] get; [Android.Runtime.Register("setAccessibilityHeading", "(Z)V", "GetSetAccessibilityHeading_ZHandler", ApiSince=28)] set; }
[<get: Android.Runtime.Register("isAccessibilityHeading", "()Z", "GetIsAccessibilityHeadingHandler", ApiSince=28)>]
[<set: Android.Runtime.Register("setAccessibilityHeading", "(Z)V", "GetSetAccessibilityHeading_ZHandler", ApiSince=28)>]
member this.AccessibilityHeading : bool with get, set

Property Value

true if the view is a heading, false otherwise.

Attributes

Remarks

Property getter documentation:

Gets whether this view is a heading for accessibility purposes.

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

Property setter documentation:

Set if view is a heading for a section of content for accessibility purposes.

Users of some accessibility services can choose to navigate between headings instead of between paragraphs, words, etc. Apps that provide headings on sections of text can help the text navigation experience.

Java documentation for android.view.View.setAccessibilityHeading(boolean).

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