UI Automation
Ribbon controls follow the WPF accessibility model for UI automation.
What is UI Automation?
Microsoft UI Automation is the new accessibility framework for Microsoft Windows. It addresses the needs of assistive technology products and automated test frameworks by providing programmatic access to information about the user interface (UI).
Ribbon implements automation peers for the following classes:
The Ribbon class, which provides access to the child elements.
The ButtonBase class, which is the base class for several other controsl. This automation peer provides the ability to invoke and toggle (when checkable) the control.
The CheckBox class, which provides the ability to toggle the checked state.
The ComboBox class, which provides the ability to get or set the current text (when editable), expand or collapse the drop-down list, view selected item (when not editable), or get the items available in the drop-down list.
The PopupButton class, which provides the ability to expand or collapse the popup.
The RadioButton class, which provides the ability to toggle the checked state.
The SplitButton class, which provides the ability to expand or collapse the popup and invoke the button.
The TextBox class, which provides the ability to get or set the current text.
Several other Ribbon classes implement an automation peer that provides access to the child elements.