RecentDocumentControlAutomationPeer Class
Exposes RecentDocumentControl types to UI Automation.
public class RecentDocumentControlAutomationPeer : FrameworkElementAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer object
Constructors
RecentDocumentControlAutomationPeer(RecentDocumentControl)
Initializes a new instance of the RecentDocumentControlAutomationPeer class.
public RecentDocumentControlAutomationPeer(RecentDocumentControl owner)
Parameter | Type | Description |
---|---|---|
owner | RecentDocumentControl | 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().
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by GetLocalizedControlType().
GetOrientationCore()
Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer is laid out in a specific direction. This method is called by GetOrientation().
protected override AutomationOrientation GetOrientationCore()
Returns
- AutomationOrientation:
The None enumeration value.