Class TreeViewAdvAcessibleObject
Represents a TreeViewAdv control that can be used by an accessibility application.
Inheritance
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class TreeViewAdvAcessibleObject : Control.ControlAccessibleObject
Constructors
TreeViewAdvAcessibleObject(TreeViewAdv)
Initializes a new instance of the TreeViewAdvAcessibleObject class.
Declaration
public TreeViewAdvAcessibleObject(TreeViewAdv tree)
Parameters
| Type | Name | Description |
|---|---|---|
| TreeViewAdv | tree | TreeViewAdv which needs to be used for accessibility application. |
Properties
Bounds
Gets or sets the accessible object bounds.
Declaration
public override Rectangle Bounds { get; }
Property Value
| Type | Description |
|---|---|
| System.Drawing.Rectangle | The accessible object bounds. |
Help
Gets the description of what the object does or how the object is used.
Declaration
public override string Help { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The description of what the object does or how the object is used. |
Name
Gets or sets the accessible object name.
Declaration
public override string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The accessible object name. |
Parent
Gets the parent of the AccessibleObject.
Declaration
public override AccessibleObject Parent { get; }
Property Value
| Type | Description |
|---|---|
| System.Windows.Forms.AccessibleObject | An TreeViewAdvAcessibleObject that represents the parent of an accessible object, or null if there is no parent object. |
Role
Gets the role for the TreeViewAdv. This is used by accessibility programs.
Declaration
public override AccessibleRole Role { get; }
Property Value
| Type |
|---|
| System.Windows.Forms.AccessibleRole |
State
Gets the state for the TreeViewAdv. This is used by accessibility programs.
Declaration
public override AccessibleStates State { get; }
Property Value
| Type |
|---|
| System.Windows.Forms.AccessibleStates |
Value
Gets or sets the value of the TreeViewAdv.
Declaration
public override string Value { get; set; }
Property Value
| Type |
|---|
| System.String |
Methods
GetChild(Int32)
Overridden. Gets the Accessibility object of the GroupViewItem identified by index.
Declaration
public override AccessibleObject GetChild(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | The index of the accessibility object. |
Returns
| Type |
|---|
| System.Windows.Forms.AccessibleObject |
GetChildCount()
Overridden. The GroupViewItem objects are child controls in terms of accessibility. So return the number of GroupViewItem
Declaration
public override int GetChildCount()
Returns
| Type | Description |
|---|---|
| System.Int32 | The number of Tree nodes. |
GetFocused()
Overridden. Retrieves the object that has the keyboard focus.
Declaration
public override AccessibleObject GetFocused()
Returns
| Type | Description |
|---|---|
| System.Windows.Forms.AccessibleObject | A TreeViewAdvAcessibleObject that specifies the currently focused child. This method returns the calling object if the object itself is focused. Returns null if no object has focus. |
GetSelected()
Overridden. Retrieves the currently selected child.
Declaration
public override AccessibleObject GetSelected()
Returns
| Type | Description |
|---|---|
| System.Windows.Forms.AccessibleObject | A TreeViewAdvAcessibleObject that represents the currently selected child. This method returns the calling object if the object itself is selected. Returns null if is no child is currently selected and the object itself does not have focus. |
HitTest(Int32, Int32)
Overridden. Retrieves the child object at the specified screen coordinates.
Declaration
public override AccessibleObject HitTest(int x, int y)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | x | The horizontal screen coordinate. |
| System.Int32 | y | The vertical screen coordinate. |
Returns
| Type | Description |
|---|---|
| System.Windows.Forms.AccessibleObject | An TreeViewAdvAcessibleObject that represents the child object at the given screen coordinates. This method returns the calling object if the object itself is at the location specified. Returns null if no object is at the tested location. |
Navigate(AccessibleNavigation)
Overridden. Navigates to another accessible object.
Declaration
public override AccessibleObject Navigate(AccessibleNavigation navdir)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Forms.AccessibleNavigation | navdir | One of the System.Windows.Forms.AccessibleNavigation values. |
Returns
| Type | Description |
|---|---|
| System.Windows.Forms.AccessibleObject | A TreeViewAdvAcessibleObject that represents one of the AccessibleNavigation values. |