DataGridViewCell.DataGridViewCellAccessibleObject.Navigate(AccessibleNavigation) DataGridViewCell.DataGridViewCellAccessibleObject.Navigate(AccessibleNavigation) DataGridViewCell.DataGridViewCellAccessibleObject.Navigate(AccessibleNavigation) DataGridViewCell.DataGridViewCellAccessibleObject.Navigate(AccessibleNavigation) 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);
override this.Navigate : System.Windows.Forms.AccessibleNavigation -> System.Windows.Forms.AccessibleObject
Public Overrides Function Navigate (navigationDirection As AccessibleNavigation) As AccessibleObject

Parameters

Returns

Exceptions

Remarks

The following table describes which DataGridViewCell owns the DataGridViewCell.DataGridViewCellAccessibleObject that is returned by the Navigate method for each parameter value.

Parameter value Description
Right The DataGridViewCell to the right of the current cell. Navigate returns null if the current cell is in the right-most column.
Left The DataGridViewCell to the left of the current cell. Navigate returns an accessible object for the row header if the current cell is in the left-most column.
Next The DataGridViewCell that has the next higher index. Navigate returns null if the current cell is in the first column.
Previous The DataGridViewCell that has the next lower index. Navigate returns null if the current cell is in the last column.
Up The DataGridViewCell in the same column and one row above the current cell. Navigate returns null if the current cell is in the first row.
Down The DataGridViewCell in the same column and one row below the current cell. Navigate returns null if the current cell is in the last row.
All other AccessibleNavigation values null.

Security

SecurityPermission
to call unmanaged code. Demand value: Demand. Permission value: UnmanagedCode

Applies to

See also