DataGridViewTopLeftHeaderCell::DataGridViewTopLeftHeaderCellAccessibleObject::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 an object in the specified direction.

When you specify the Next value for navigationDirection, the Navigate method returns an AccessibleObject that represents the DataGridViewColumnHeaderCell for the first column. Navigate returns the same object if you specify Right or Left when right-to-left support is enabled. All other AccessibleNavigation values return null.

SecurityPermission

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

.NET Framework
Available since 2.0
Return to top
Show: