DataGridViewRow.DataGridViewRowAccessibleObject.Navigate(AccessibleNavigation) DataGridViewRow.DataGridViewRowAccessibleObject.Navigate(AccessibleNavigation) DataGridViewRow.DataGridViewRowAccessibleObject.Navigate(AccessibleNavigation) DataGridViewRow.DataGridViewRowAccessibleObject.Navigate(AccessibleNavigation) Method

定义

定位到另一个辅助性对象。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

参数

返回

AccessibleObject,它表示指定方向的对象。An AccessibleObject that represents an object in the specified direction.

异常

注解

下表描述AccessibleObject Navigate了方法将为每个navdir值返回的。The following table describes the AccessibleObject that the Navigate method will return for each navdir value.

参数值Parameter value 返回值Return value
DownNextDown or Next 当前行下的DataGridViewRow辅助性对象。An accessible object for the DataGridViewRow below the current row.
UpPreviousUp or Previous 当前行之上的DataGridViewRow辅助性对象。An accessible object for the DataGridViewRow above the current row.
FirstChild 行中第一个DataGridViewCell的辅助性对象。An accessible object for the first DataGridViewCell in the row. 如果DataGridViewRowHeaderCellRowHeadersVisible ,true则为第一个单元格。The DataGridViewRowHeaderCell is the first cell if RowHeadersVisible is true.
LastChild 行中最后DataGridViewCell一个可访问的对象。An accessible object for the last DataGridViewCell in the row.
所有其他AccessibleNavigationAll other AccessibleNavigation values nullnull.

安全性

SecurityPermission
调用非托管代码。to call unmanaged code. 需求值: DemandDemand value: Demand. 权限值:UnmanagedCodePermission value: UnmanagedCode

适用于

另请参阅