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)

Initializes a new instance of the DockingWindowAutomationPeerBase class.

protected DockingWindowAutomationPeerBase(DockingWindow owner)
Parameter Type Description
owner DockingWindow

The owner element.

Methods

GetAutomationControlTypeCore()

Gets the control type for the element that is associated with the UI Automation peer.

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType:

The control type.

GetClassNameCore()

Gets a name that is used with AutomationControlType, to differentiate the control that is represented by this AutomationPeer.

protected override string GetClassNameCore()

Returns

string:

The class name.

GetNameCore()

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

protected override string GetNameCore()

Returns

string:

The name.

GetPattern(PatternInterface)

Gets the control pattern that is associated with the specified PatternInterface.

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

A value from the PatternInterface enumeration.

Returns

object:

The object that implements the pattern interface; null if the peer does not support this interface.

Invoke()

public void Invoke()