ControlExtensionsIsActiveControl Method |
Version 57.0.0
Returns whether the supplied control is the currently
active control.
Namespace: CefSharp.WinForms.InternalsAssembly: CefSharp.WinForms (in CefSharp.WinForms.dll) Version: 57.0.0.0 (57.0.0.0)
Syntax public static bool IsActiveControl(
this Control control
)
public:
[ExtensionAttribute]
static bool IsActiveControl(
Control^ control
)
Parameters
- control
- Type: System.Windows.FormsControl
the control to check
Return Value
Type:
Booleantrue if the control is the currently active control
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
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also