System.Windows.Forms.AccessibleObject.Navigate Method

Navigates to another accessible object.

Syntax

public virtual AccessibleObject Navigate (AccessibleNavigation navdir)

Parameters

navdir
One of the System.Windows.Forms.AccessibleNavigation values.

Returns

An System.Windows.Forms.AccessibleObject that represents one of the System.Windows.Forms.AccessibleNavigation values.

Remarks

Navigation, both spatial and logical, is always restricted to the user interface elements within a container. With spatial navigation, clients can navigate only to a sibling of the starting object. Depending on the navigational flag used with logical navigation, clients can navigate to either a child or to a sibling of the starting object. This method does not change the selection or focus. To change the focus or to select an object, use AccessibleObject.Select(AccessibleSelection). The AccessibleObject.Navigate(AccessibleNavigation) method retrieves only user interface elements that have a defined screen location.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0