DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject.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);

Parameters

navigationDirection
AccessibleNavigation

One of the AccessibleNavigation values.

Returns

An AccessibleObject that represents an object in the specified direction.

Remarks

The following table describes which DataGridViewCell owns the AccessibleObject that is returned by the Navigate method.

Parameter value Description
Next The first DataGridViewCell in the row, not including the DataGridViewRowHeaderCell. Navigate returns the DataGridViewRowHeaderCell below the current row if the DataGridView has no other columns.
Up The DataGridViewRowHeaderCell above the current row. Navigate returns null if the current row is the first row.
Down The DataGridViewRowHeaderCell below the current row. Navigate returns null if the current row is the last row.
All other AccessibleNavigation values null.

Applies to

Termék Verziók
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

See also