DataGridView.DataGridViewTopRowAccessibleObject.Navigate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 the object at the specified AccessibleNavigation value.
Exceptions
The Owner property is not set.
Remarks
The following table describes the AccessibleObject that the Navigate method will return for each parameter value.
Parameter value | Return value |
---|---|
Next or Down |
An accessible object that represents the first DataGridViewRow that is a data row in the DataGridView. |
FirstChild | An accessible object that represents the first column header in the DataGridView. If the RowHeadersVisible property is set to true , the accessible object represents the DataGridViewTopLeftHeaderCell. |
LastChild | An accessible object that represents the column header for the last visible column. |
All other AccessibleNavigation values | null . |
Applies to
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應