Redigera

Dela via


DataGridView.DataGridViewAccessibleObject.Navigate Method

Definition

Navigates to another accessible object.

public:
 override System::Windows::Forms::AccessibleObject ^ Navigate(System::Windows::Forms::AccessibleNavigation navigationDirection);
public override System.Windows.Forms.AccessibleObject Navigate (System.Windows.Forms.AccessibleNavigation navigationDirection);
public override System.Windows.Forms.AccessibleObject? Navigate (System.Windows.Forms.AccessibleNavigation navigationDirection);
override this.Navigate : System.Windows.Forms.AccessibleNavigation -> System.Windows.Forms.AccessibleObject
Public Overrides Function Navigate (navigationDirection As AccessibleNavigation) As AccessibleObject

Parameters

navigationDirection
AccessibleNavigation

One of the AccessibleNavigation values.

Returns

An AccessibleObject that represents the object positioned at the specified AccessibleNavigation value.

Remarks

Use the FirstChild value to get the first child accessible object of the DataGridView.DataGridViewAccessibleObject, and use LastChild to get the last child. The Navigate method will return null for all other values of the AccessibleNavigation enumeration.

Applies to

See also