AccessibilityNodeInfo.Heading Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns whether node represents a heading. -or- Sets whether the node represents a heading.
public virtual bool Heading { [Android.Runtime.Register("isHeading", "()Z", "GetIsHeadingHandler", ApiSince=28)] get; [Android.Runtime.Register("setHeading", "(Z)V", "GetSetHeading_ZHandler", ApiSince=28)] set; }
[<get: Android.Runtime.Register("isHeading", "()Z", "GetIsHeadingHandler", ApiSince=28)>]
[<set: Android.Runtime.Register("setHeading", "(Z)V", "GetSetHeading_ZHandler", ApiSince=28)>]
member this.Heading : bool with get, set
Property Value
true
if the node is a heading, false
otherwise.
- Attributes
Remarks
Property getter documentation:
Returns whether node represents a heading.
<strong>Note:</strong> Returns true
if either #setHeading(boolean)
marks this node as a heading or if the node has a CollectionItemInfo
that marks it as such, to accomodate apps that use the now-deprecated API.
Java documentation for android.view.accessibility.AccessibilityNodeInfo.isHeading()
.
Property setter documentation:
Sets whether the node represents a heading.
<strong>Note:</strong> Cannot be called from an android.accessibilityservice.AccessibilityService
. This class is made immutable before being delivered to an AccessibilityService.
Java documentation for android.view.accessibility.AccessibilityNodeInfo.setHeading(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.