In This Article

BackstageItemAutomationPeer Class

Exposes the Backstage control to UI Automation.

public class BackstageItemAutomationPeer : TabItemAutomationPeer
Inheritance:
object AutomationPeer ItemAutomationPeer SelectorItemAutomationPeer TabItemAutomationPeer object

Constructors

BackstageItemAutomationPeer(object, BackstageAutomationPeer)

Initializes an instance of the BackstageItemAutomationPeer class.

public BackstageItemAutomationPeer(object owner, BackstageAutomationPeer backstageAutomationPeer)
Parameter Type Description
owner object

The owner of the automation peer.

backstageAutomationPeer BackstageAutomationPeer

The backstage automation peer.

Methods

GetAutomationControlTypeCore()

Gets the control type for the item that is associated with this peer.

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType:

The control type for the item that is associated with this peer.

GetClassNameCore()

Gets a human readable name that, in addition to AutomationControlType, differentiates the control represented by this AutomationPeer.

protected override string GetClassNameCore()

Returns

string:

The string that contains the name.

GetNameCore()

Gets the text string describing the element that is associated with this automation peer.

protected override string GetNameCore()

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.

public override object GetPattern(PatternInterface patternInterface)
Parameter Type Description
patternInterface PatternInterface

A value in the enumeration.

Returns

object:

This method will return a this pointer in the follow cases:

Invoke()

public void Invoke()