StandardMdiHostAutomationPeer Class
Exposes StandardMdiHost types to UI Automation.
public class StandardMdiHostAutomationPeer : FrameworkElementAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer object
Constructors
StandardMdiHostAutomationPeer(StandardMdiHost)
Exposes StandardMdiHost types to UI Automation.
public StandardMdiHostAutomationPeer(StandardMdiHost owner)
| Parameter | Type | Description |
|---|---|---|
| owner | StandardMdiHost | 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.
GetChildrenCore()
Gets the collection of child elements of the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetChildren().
protected override List<AutomationPeer>? GetChildrenCore()
Returns
- List<AutomationPeer>:
A list of child AutomationPeer elements.
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().