DataGridView::DataGridViewAccessibleObject::Navigate Method (AccessibleNavigation)

 

Navigates to another accessible object.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
[SecurityPermissionAttribute(SecurityAction::Demand, Flags = SecurityPermissionFlag::UnmanagedCode)]
virtual AccessibleObject^ Navigate(
	AccessibleNavigation navigationDirection
) override

Parameters

navigationDirection
Type: System.Windows.Forms::AccessibleNavigation

One of the AccessibleNavigation values.

Return Value

Type: System.Windows.Forms::AccessibleObject^

An AccessibleObject that represents the object positioned at the specified AccessibleNavigation value.

Use the FirstChild value to get the first child accessible object of the DataGridView::DataGridViewAccessibleObject, and use LastChild to get the last child. The Navigate method will return null for all other values of the AccessibleNavigation enumeration.

SecurityPermission

to call unmanaged code. Demand value: Demand. Permission value: UnmanagedCode

.NET Framework
Available since 2.0
Return to top
Show: