WorkspaceAutomationPeer Class
Exposes Workspace types to UI Automation.
public class WorkspaceAutomationPeer : FrameworkElementAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer object
Constructors
WorkspaceAutomationPeer(Workspace)
Exposes Workspace types to UI Automation.
public WorkspaceAutomationPeer(Workspace owner)
| Parameter | Type | Description |
|---|---|---|
| owner | Workspace | 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().
GetClickablePointCore()
Gets a System.Windows.Point that represents the clickable space that is on the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetClickablePoint().
protected override Point GetClickablePointCore()
Returns
- Point:
The System.Windows.Point on the element that allows a click. The point values are (NaN, NaN) if the element is not both a HwndSource and a PresentationSource.
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by GetLocalizedControlType().