Language

DataGridViewCell.DataGridViewCellAccessibleObject.Navigate メソッド

定義

アクセス可能な別のオブジェクトに移動します。

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

パラメーター

navigationDirection
AccessibleNavigation

AccessibleNavigation値の 1 つ。

返品

指定したDataGridViewCell.DataGridViewCellAccessibleObject値のDataGridViewCellを表すAccessibleNavigation。

例外

Owner プロパティの値はnull。

注釈

次の表では、各パラメーター値に対して DataGridViewCell メソッドによって返されるDataGridViewCell.DataGridViewCellAccessibleObjectを所有するNavigateについて説明します。

パラメーター値 Description
Right 現在のセルの右側にある DataGridViewCell 。 Navigate は、現在のセルが右端の列にある場合、 null を返します。
Left 現在のセルの左側にある DataGridViewCell 。 Navigate は、現在のセルが左端の列にある場合、行ヘッダーのアクセス可能なオブジェクトを返します。
Next 次に高いインデックスを持つ DataGridViewCell 。 Navigate は、現在のセルが最初の列にある場合は null を返します。
Previous 次の下位インデックスを持つ DataGridViewCell 。 Navigate は、現在のセルが最後の列にある場合に null を返します。
Up 現在のセルの上の同じ列と 1 行の DataGridViewCell 。 Navigate は、現在のセルが最初の行にある場合は null を返します。
Down 現在のセルの下の同じ列と 1 行の DataGridViewCell 。 Navigate は、現在のセルが最後の行にある場合に null を返します。
その他のすべての AccessibleNavigation 値 null。

適用対象

こちらもご覧ください