AccessibleNavigation Enumeration
Specifies values for navigating among accessible objects.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Member name | Description | |
|---|---|---|
| Down | Navigation to a sibling object located below the starting object. | |
| FirstChild | Navigation to the first child of the object. | |
| LastChild | Navigation to the last child of the object. | |
| Left | Navigation to the sibling object located to the left of the starting object. | |
| Next | Navigation to the next logical object, typically from a sibling object to the starting object. | |
| Previous | Navigation to the previous logical object, typically from a sibling object to the starting object. | |
| Right | Navigation to the sibling object located to the right of the starting object. | |
| Up | Navigation to a sibling object located above the starting object. |
Accessible navigation directions are either spatial (up, down, left, and right) or logical (first child, last child, next, and previous). Logical directions are used when clients navigate from one user interface element to another within the same container.
AccessibleObject uses this enumeration.
For more information about the accessibility application, search for the "Microsoft Active Accessibility" topic in the MSDN library.
The following code example demonstrates the creation of an accessibility-aware chart control, using the AccessibleObject and Control.ControlAccessibleObject classes to expose accessible information. The control plots two curves along with a legend. The ChartControlAccessibleObject class, which derives from ControlAccessibleObject, is used in the CreateAccessibilityInstance method to provide custom accessible information for the chart control. Since the chart legend is not an actual Control -based control, but instead is drawn by the chart control, it does not any built-in accessible information. Because of this, the ChartControlAccessibleObject class overrides the GetChild method to return the CurveLegendAccessibleObject that represents accessible information for each part of the legend. When an accessible-aware application uses this control, the control can provide the necessary accessible information.
This example demonstrates using the AccessibleNavigation enumeration with the Navigate method. See the AccessibleObject class overview for the complete code example.
Available since 1.1