Exposes a RadTreeNode and its children to Windows accessibility clients.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadTreeNodeAccessibleObject : RadItemAccessibleObject, IReflect, IAccessible
Inheritance: objectMarshalByRefObjectStandardOleMarshalObjectAccessibleObjectRadItemAccessibleObjectRadTreeNodeAccessibleObject...
Implements:
Constructors
Creates an accessible object for a node within its tree's accessible hierarchy.
public RadTreeNodeAccessibleObject(RadTreeNode owner, AccessibleObject parent, RadTreeViewAccessibleObject treeViewAccObject)
The node represented by this object.
parentAccessibleObjectThe accessible object that contains this node.
treeViewAccObjectRadTreeViewAccessibleObjectThe tree-level accessible object used to retrieve cached node objects.
Properties
Gets the node's screen bounds when its visual element is realized; otherwise returns Empty.
public override Rectangle Bounds { get; }
Overrides:
Gets "Collapse" when the node is expanded and "Expand" otherwise.
public override string DefaultAction { get; }
Overrides:
Gets a description containing the node marker, accessible name, and direct-child count.
public override string Description { get; }
Overrides:
Gets the node text with an expanded or collapsed suffix when the node has children. Setting the name delegates to the base accessible object and does not set Text.
public override string Name { get; set; }
Overrides:
Gets the RadTreeNode represented by this accessible object.
public override object Owner { get; }
Overrides:
Gets the accessible parent supplied when this object was created.
public override AccessibleObject Parent { get; }
Overrides:
Gets the outline-item role for the tree node.
public override AccessibleRole Role { get; }
Overrides:
Gets the accessibility states derived from the node's enabled, realized, expanded, current, and selected states.
public override AccessibleStates State { get; }
Overrides:
Disabled nodes use the base state. Otherwise, the object is focusable and selectable; it is marked invisible and offscreen when its element is unrealized or an ancestor is collapsed. Expanded or collapsed is included only when the node is visible and its child collection is non-empty, and the current and selected flags are reflected as focused and selected states.
Methods
Collapses an expanded node or expands a collapsed node.
public override void DoDefaultAction()
Overrides:
Gets the accessible object for the direct child at the specified index.
public override AccessibleObject GetChild(int index)
The zero-based index in the node's child collection.
Returns:The cached accessible object for the child node.
Overrides:
Gets the number of direct child nodes.
Navigates to a child, sibling, or parent according to the requested accessibility direction.
public override AccessibleObject Navigate(AccessibleNavigation navdir)
The direction in which to navigate.
Returns:The accessible object in that direction, or null when no matching node exists. Next enters the first child when present; otherwise it advances to a following sibling or an ancestor's following sibling. Previous returns the previous sibling or parent; Up and Down move between siblings; Right enters the first child; Left returns the parent.
Overrides: