Exposes the Backstage control to UI Automation.
- Inheritance:
-
object
Automation
Peer ItemAutomation SelectorPeer Item TabAutomation Peer Item objectAutomation Peer
Constructors
BackstageItemAutomationPeer(object, BackstageAutomationPeer)
Initializes an instance of the BackstageItemAutomationPeer
class.
Parameter | Type | Description |
---|---|---|
owner | object | The owner of the automation peer. |
backstageAutomationPeer | Backstage |
The backstage automation peer. |
Methods
GetAutomationControlTypeCore()
Gets the control type for the item that is associated with this peer.
Returns
- Automation
Control :Type The control type for the item that is associated with this peer.
GetClassNameCore()
Gets a human readable name that, in addition to Automation
Returns
- string:
The string that contains the name.
GetNameCore()
Gets the text string describing the element that is associated with this automation peer.
Returns
- string:
The string that contains the name.
GetPattern(PatternInterface)
Gets the object that supports the specified control pattern of the element that is associated with this automation peer.
Parameter | Type | Description |
---|---|---|
patternInterface | Pattern |
A value in the enumeration. |
Returns
- object:
This method will return a
this
pointer in the follow cases:-
If
patternInterface
is Invoke andItem
is a ButtonBase .
-
If