RecentDocumentItemAutomationPeer Class
Exposes RecentDocumentItem types to UI Automation.
public class RecentDocumentItemAutomationPeer : FrameworkElementAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer object
Constructors
RecentDocumentItemAutomationPeer(RecentDocumentItem)
Initializes a new instance of the RecentDocumentItemAutomationPeer class.
public RecentDocumentItemAutomationPeer(RecentDocumentItem owner)
Parameter | Type | Description |
---|---|---|
owner | RecentDocumentItem | The owner element. |
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().
GetHelpTextCore()
Gets the string that describes the functionality of the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetHelpText().
protected override string GetHelpTextCore()
Returns
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by GetLocalizedControlType().
GetNameCore()
Gets the text label of the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetName().
protected override string GetNameCore()
Returns
- string:
The text label of the element that is associated with this automation peer.