AutomationPeerBase<T> Class
The base implementation for Automation Peers.
public class AutomationPeerBase<T> : FrameworkElementAutomationPeer where T : FrameworkElement
- Type Parameters:
-
T-
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer object
Constructors
AutomationPeerBase(T)
The base implementation for Automation Peers.
public AutomationPeerBase(T owner)
| Parameter | Type | Description |
|---|---|---|
| owner | T | The owner. |
Methods
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().