Struct AccessibilityNode
- Namespace
- Forma
- Assembly
- Forma.dll
One node of an AccessibilityTreeSnapshot: everything a consumer needs about a single element, flattened so the tree can be transported, diffed or serialized without walking live controls.
public readonly struct AccessibilityNode
- Inherited Members
Properties
Actions
What this element can be asked to do. See Invoke(AccessibilityActions, object).
public AccessibilityActions Actions { get; }
Property Value
AutomationId
Author-assigned identifier, empty when unset. Stable across relabelling.
public string AutomationId { get; }
Property Value
Bounds
Bounds in global coordinates, matching what pointer input uses.
public Rectangle Bounds { get; }
Property Value
- Rectangle
Id
Identity of this node, unique within the process and stable while it lives.
public int Id { get; }
Property Value
IsRoot
Whether this node sits directly under the context, with no parent node.
public bool IsRoot { get; }
Property Value
Name
What assistive technology announces. Changes when a control is relabelled.
public string Name { get; }
Property Value
ParentId
Id of the containing node, or 0 for a root.
public int ParentId { get; }
Property Value
Role
What kind of element this is, which is how a locator finds it by role.
public AccessibilityRole Role { get; }
Property Value
States
Disabled, focused, offscreen and the rest, used for actionability decisions.
public AccessibilityStates States { get; }
Property Value
Value
The element's current value, where it has one: a field's text, a slider's number.
public string Value { get; }