ControlDesigner::ControlDesignerAccessibleObject::GetFocused Method ()

 

Retrieves the object that has the keyboard focus.

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

public:
virtual AccessibleObject^ GetFocused() override

Return Value

Type: System.Windows.Forms::AccessibleObject^

An AccessibleObject that specifies the currently focused child. This method returns the calling object if the object itself is focused. Returns null if no object has focus.

.NET Framework
Available since 1.1
Return to top
Show: