แก้ไข

แชร์ผ่าน


DataGridViewRow.DataGridViewRowAccessibleObject.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 an object in the specified direction.

Exceptions

The value of the Owner property is null.

Remarks

The following table describes the AccessibleObject that the Navigate method will return for each navdir value.

Parameter value Return value
Down or Next An accessible object for the DataGridViewRow below the current row.
Up or Previous An accessible object for the DataGridViewRow above the current row.
FirstChild An accessible object for the first DataGridViewCell in the row. The DataGridViewRowHeaderCell is the first cell if RowHeadersVisible is true.
LastChild An accessible object for the last DataGridViewCell in the row.
All other AccessibleNavigation values null.

Applies to

See also