DataGridView::DataGridViewAccessibleObject::GetFocused Method ()

 

Returns the accessible object of the DataGridViewCell that has the keyboard focus.

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

public:
virtual AccessibleObject^ GetFocused() override

Return Value

Type: System.Windows.Forms::AccessibleObject^

An AccessibleObject that specifies the DataGridViewCell that has the current focus, or null if the DataGridView does not have focus.

.NET Framework
Available since 2.0
Return to top
Show: