Επεξεργασία

Κοινή χρήση μέσω


DataGridViewTopLeftHeaderCell.DataGridViewTopLeftHeaderCellAccessibleObject.Navigate 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);
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.

Exceptions

.NET 6 and later versions only: Owner is null.

Remarks

When you specify the Next value for navigationDirection, the Navigate method returns an AccessibleObject that represents the DataGridViewColumnHeaderCell for the first column. Navigate returns the same object if you specify Right or Left when right-to-left support is enabled. All other AccessibleNavigation values return null.

Applies to

See also