DataGridViewRowHeaderCell::DataGridViewRowHeaderCellAccessibleObject::Navigate Method (AccessibleNavigation)
Navigates to another accessible object.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: [SecurityPermissionAttribute(SecurityAction::Demand, Flags = SecurityPermissionFlag::UnmanagedCode)] virtual AccessibleObject^ Navigate( AccessibleNavigation navigationDirection ) override
Parameters
- navigationDirection
-
Type:
System.Windows.Forms::AccessibleNavigation
One of the AccessibleNavigation values.
Return Value
Type: System.Windows.Forms::AccessibleObject^An AccessibleObject that represents an object in the specified direction.
The following table describes which DataGridViewCell owns the AccessibleObject that is returned by the Navigate method.
Parameter value | Description |
|---|---|
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. | |
The DataGridViewRowHeaderCell above the current row. Navigate returns null if the current row is the first row. | |
The DataGridViewRowHeaderCell below the current row. Navigate returns null if the current row is the last row. | |
All other AccessibleNavigation values | null. |
to call unmanaged code. Demand value: Demand. Permission value: UnmanagedCode
Available since 2.0