In This Article

DockingWindowAutomationPeerBase Class

Exposes DockingWindow types to UI Automation.

public abstract class DockingWindowAutomationPeerBase : FrameworkElementAutomationPeer
Inheritance:
object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer object
Derived:
DocumentWindowAutomationPeer ToolWindowAutomationPeer

Constructors

DockingWindowAutomationPeerBase(DockingWindow)

Exposes DockingWindow types to UI Automation.

protected DockingWindowAutomationPeerBase(DockingWindow owner)
Parameter Type Description
owner DockingWindow

The owner element.

Methods

GetAutomationControlTypeCore()

Gets the control type for the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetAutomationControlType().

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType:

The Custom enumeration value.

GetClassNameCore()

Gets the name of the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetClassName().

protected override string GetClassNameCore()

Returns

string:

An Empty string.

GetNameCore()

Gets the text label of the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetName().

protected override string GetNameCore()

Returns

string:

The text label of the element that is associated with this automation peer.

GetPattern(PatternInterface)

Gets the control pattern for the UIElement that is associated with this UIElementAutomationPeer.

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

A value from the enumeration.

Returns

object:

An object that implements the ISynchronizedInputProvider interface if patternInterface is SynchronizedInput; otherwise, null.

Invoke()

public void Invoke()

Extension Methods