DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject.Navigate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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
See also
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.