Exposes a RadTreeView and its nodes to Windows accessibility clients.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadTreeViewAccessibleObject : Control.ControlAccessibleObject, IReflect, IAccessible
Inheritance: objectMarshalByRefObjectStandardOleMarshalObjectAccessibleObjectControl.ControlAccessibleObjectRadTreeViewAccessibleObject...
Implements:
Constructors
Creates the accessible object and subscribes to tree changes that invalidate its node caches.
public RadTreeViewAccessibleObject(RadTreeView owner)
The tree view represented by this accessible object.
Properties
Gets the tree view's accessible bounds, expanded by two pixels on each side.
public override Rectangle Bounds { get; }
Overrides:
Gets a description containing the tree-node marker, this object's accessible name, and the node count.
public override string Description { get; }
Overrides:
Gets the outline role used to expose the tree hierarchy.
public override AccessibleRole Role { get; }
Overrides:
Methods
Clears cached node accessible objects and indices, and marks the cached node count as invalid.
protected virtual void ClearCache()
Gets the accessible object at the specified position in the flattened tree-node traversal.
public override AccessibleObject GetChild(int index)
The zero-based position in the traversal.
Returns:The node's accessible object, or null when the position is not present.
Overrides:
Returns the accessible object for the focused node, or the tree view itself when it has focus.
public override AccessibleObject GetFocused()
The focused node or tree accessible object; returns the base result when the tree has no nodes, and null when nodes exist but neither a node nor the tree view is focused.
Overrides:
Gets the cached accessible object for a node, creating it with the corresponding accessible parent when needed.
public AccessibleObject GetNodeAccessibleObject(RadTreeNode node)
The node to expose.
Returns:The cached or newly created accessible object for the node.
Counts nodes yielded by the tree's flattened traversal and caches the total when the cached count is invalid.
protected virtual void PopulateCachedNodeCount()