DataGridViewRow::DataGridViewRowAccessibleObject::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.
| Exception | Condition |
|---|---|
| InvalidOperationException | The value of the Owner property is null. |
The following table describes the AccessibleObject that the Navigate method will return for each navdir value.
Parameter value | Return value |
|---|---|
An accessible object for the DataGridViewRow below the current row. | |
An accessible object for the DataGridViewRow above the current row. | |
An accessible object for the first DataGridViewCell in the row. The DataGridViewRowHeaderCell is the first cell if RowHeadersVisible is true. | |
An accessible object for the last DataGridViewCell in the row. | |
All other AccessibleNavigation values | null. |
to call unmanaged code. Demand value: Demand. Permission value: UnmanagedCode
Available since 2.0