Exposes Ribbon types to UI Automation.
- Inheritance:
-
object
Automation
Peer UIElementAutomation FrameworkPeer Element objectAutomation Peer
Constructors
RibbonAutomationPeer(Ribbon)
Initializes a new instance of the Ribbon
Parameter | Type | Description |
---|---|---|
owner | Ribbon | The owner element. |
Methods
GetAutomationControlTypeCore()
Gets the control type for the UIElement that is associated with this UIElement
Returns
- Automation
Control :Type The Custom enumeration value.
GetChildrenCore()
Gets the collection of child elements of the UIElement that is associated with this UIElement
Returns
- List<Automation
Peer >: A list of child Automation
Peer elements.
GetClassNameCore()
Gets the name of the UIElement that is associated with this UIElement
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by Get
Returns
- string:
The type of the control.
GetPattern(PatternInterface)
Gets the control pattern for the UIElement that is associated with this UIElement
Parameter | Type | Description |
---|---|---|
patternInterface | Pattern |
A value from the enumeration. |
Returns
- object:
An object that implements the ISynchronized
Input interface ifProvider patternInterface
is SynchronizedInput ; otherwise,null
.