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);

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

Termék Verziók
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

See also