DockHostAutomationPeer Class
Exposes DockHost types to UI Automation.
public class DockHostAutomationPeer : FrameworkElementAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer object
Constructors
DockHostAutomationPeer(DockHost)
Initializes a new instance of the DockHostAutomationPeer class.
public DockHostAutomationPeer(DockHost owner)
| Parameter | Type | Description |
|---|---|---|
| owner | DockHost | 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.
GetAutomationIdCore()
Gets the string that uniquely identifies the FrameworkElement that is associated with this FrameworkElementAutomationPeer.
protected override string GetAutomationIdCore()
Returns
- string:
The string that uniquely identifies the
FrameworkElementthat is associated with thisFrameworkElementAutomationPeer.
GetChildrenCore()
Gets the collection of child elements that are represented in the UI Automation tree as immediate child elements of the automation peer.
protected override List<AutomationPeer> GetChildrenCore()
Returns
- List<AutomationPeer>:
The collection of
AutomationPeerobjects for child elements.
GetClassNameCore()
Gets a name that is used with AutomationControlType, to differentiate the control that is represented by this AutomationPeer.
GetClickablePointCore()
Gets a point on the element that is associated with the automation peer that responds to a mouse click.
protected override Point GetClickablePointCore()
Returns
- Point:
A point in the clickable area of the element.
GetLocalizedControlTypeCore()
Gets a localized string that represents the AutomationControlType value for the control that is associated with this automation peer.