AutomationPeer.Navigate(AutomationNavigationDirection) Method

Definition

Gets the element in the specified direction within the UI automation tree.

Equivalent WinUI method: Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.Navigate.

public:
 virtual Platform::Object ^ Navigate(AutomationNavigationDirection direction) = Navigate;
IInspectable Navigate(AutomationNavigationDirection direction);
public object Navigate(AutomationNavigationDirection direction);
function navigate(direction)
Public Function Navigate (direction As AutomationNavigationDirection) As Object

Parameters

direction
AutomationNavigationDirection

The specified direction.

Returns

Object

The element in the specified direction within the UI automation tree.

Applies to