[This is preliminary documentation and is subject to change.]
Recursivelly searches for innermost focused control placed on given control
Namespace: Tools.WindowsT.FormsT.UtilitiesTAssembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
Parameters
- Control
- Type: System.Windows.Forms..::..Control
Control to serach for child of
- DoNotExpand
- Type: System..::..Func<(Of <(<'Control, Boolean>)>)>
Optional. Call back function delegate. The function returns true for controls that should be treated as controls withoud child controls. If such control contains has or focus it is returned. This ¨function is called for Control (passed in paramater) as well.
Return Value
The inner most control that contain focus. Null when there is no such control and
Control also has not focus.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Control. When you use instance method syntax to call this method, omit the first parameter. For more information, see
or
.
See Also