ControlDesigner.ControlDesignerAccessibleObject.GetFocused Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Retrieves the object that has the keyboard focus.

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

public override AccessibleObject GetFocused()

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: