An accessibility object of the ruler role includes the following attributes as shown in Table B-28:
Attribute | Required | Type | Description |
|---|---|---|---|
Parent | Yes | UIElement | Accessibility object representing the ruler’s parent |
Position | Yes | Point value | Structure containing screen-position coordinates |
Size | Yes | Size value | Structure containing width and height values |
Window | Yes | UIElement | Accessibility object representing the ruler’s containing window |
Top-Level UIElement | Yes | UIElement | Accessibility object representing the ruler’s containing window, sheet, or drawer |
Children | Yes | UIElement array | Accessibility objects representing the ruler’s ruler markers and other children |
Help | No | String | Help-tag text for the ruler |
Focused | Yes | Boolean |
|
Marker UIElements | Yes | UIElement array | Accessibility objects representing the ruler’s ruler markers |
Units | Yes | String | Ruler unit type (such as inches); see framework-specific reference documentation for string constant definitions |
Unit description | Yes | String | Human-intelligible description of the ruler’s unit type |
Orientation | Yes | String | Horizontal or vertical orientation of the ruler; see framework-specific reference documentation for string constant definitions |
An accessibility object of the ruler role supports the following optional action:
Press. When the press action is performed, the ruler can be adjusted.
Last updated: 2008-03-11