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 です。

注釈

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

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

適用対象

こちらもご覧ください