Class ItemAccessibilityPeer
- Namespace
- Forma
- Assembly
- Forma.dll
public sealed class ItemAccessibilityPeer : AccessibilityPeer
- Inheritance
-
ItemAccessibilityPeer
- Inherited Members
Properties
Actions
public override AccessibilityActions Actions { get; }
Property Value
AutomationId
Always empty: an automation id is author-assigned to a control, and an item is data rather than a control. Items are addressed by role, name or index.
public override string AutomationId { get; }
Property Value
Bounds
public override Rectangle Bounds { get; }
Property Value
- Rectangle
Children
public override IReadOnlyList<AccessibilityPeer> Children { get; }
Property Value
Id
This item's own identity, not the owning items control's: every item is a distinct node, and a snapshot keyed by id would otherwise collapse them all onto the list itself. Allocated once per slot, and slots outlive scrolling, so it is stable while realized.
public override int Id { get; }
Property Value
Index
public int Index { get; }
Property Value
IsVirtual
Whether this peer describes something that is not a control — a virtualized list row, a menu entry — and therefore has to be published by its owner.
The tree walk reaches real controls on its own, so publishing those twice would list every control once as a child and once as a peer. Virtual peers are the ones with no control to be reached through.
public override bool IsVirtual { get; }
Property Value
Item
public object Item { get; }
Property Value
Name
public override string Name { get; }
Property Value
Role
public override AccessibilityRole Role { get; }
Property Value
States
public override AccessibilityStates States { get; }