NavigationPaneAutomationPeer Class
Exposes NavigationPane types to UI Automation.
public class NavigationPaneAutomationPeer : ExpanderAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer ExpanderAutomationPeer object
Constructors
NavigationPaneAutomationPeer(NavigationPane)
Initializes an instance of the NavigationPaneAutomationPeer
class.
public NavigationPaneAutomationPeer(NavigationPane owner)
Parameter | Type | Description |
---|---|---|
owner | NavigationPane |
Methods
GetAutomationControlTypeCore()
Gets the AutomationControlType for the element that is associated with the UI Automation peer.
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
- AutomationControlType:
A AutomationControlType indicating the control type.
GetChildrenCore()
Gets the collection of child elements of the UIElement that is associated with this NavigationPaneAutomationPeer. 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.
GetPattern(PatternInterface)
Gets the object that supports the specified control pattern of the element that is associated with this automation peer.
public override object GetPattern(PatternInterface patternInterface)
Parameter | Type | Description |
---|---|---|
patternInterface | PatternInterface | A value in the enumeration. |
Returns
Invoke()
public void Invoke()