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)
Initializes a new instance of the AutomationPeerBase class.
public AutomationPeerBase(T owner)
Parameter | Type | Description |
---|---|---|
owner | T | The owner. |
Methods
GetChildrenCore()
Returns the collection of child elements of the UIElement that is associated with this FrameworkElementAutomationPeer. This method is called by GetChildren().
protected override List<AutomationPeer> GetChildrenCore()
Returns
- List<AutomationPeer>:
A list of child AutomationPeer elements.
GetClassNameCore()
Gets a human readable name that, in addition to AutomationControlType, differentiates the control represented by this AutomationPeer.