BCGControlBar Library for .NET
GetFocusedControl Method (DockingPane)




A collection of controls to find a control with a keyboard focus.
Returns the first control which has a keyboard focus from the specified controls' collection. This function is recursive and retrieve the control from specified controls' collection.
Syntax
'Declaration
 
Public Function GetFocusedControl( _
   ByVal controls As Control.ControlCollection _
) As Control
'Usage
 
Dim instance As DockingPane
Dim controls As Control.ControlCollection
Dim value As Control
 
value = instance.GetFocusedControl(controls)
public Control GetFocusedControl( 
   Control.ControlCollection controls
)
public: Control* GetFocusedControl( 
   Control.ControlCollection* controls
) 
public:
Control^ GetFocusedControl( 
   Control.ControlCollection^ controls
) 

Parameters

controls
A collection of controls to find a control with a keyboard focus.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DockingPane Class
DockingPane Members

Send Feedback