DataGridViewCell.DataGridViewCellAccessibleObject.Navigate メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
アクセス可能な別のオブジェクトに移動します。
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 つ。
返品
指定したAccessibleNavigation値のDataGridViewCellを表すDataGridViewCell.DataGridViewCellAccessibleObject。
例外
Owner プロパティの値はnull。
注釈
次の表では、各パラメーター値に対して Navigate メソッドによって返されるDataGridViewCell.DataGridViewCellAccessibleObjectを所有するDataGridViewCellについて説明します。
| パラメーター値 | 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。 |