Click or drag to resize
ControlExtensionsIsActiveControl Method
Version 51.0.0
Returns whether the supplied control is the currently active control.

Namespace: CefSharp.WinForms.Internals
Assembly: CefSharp.WinForms (in CefSharp.WinForms.dll) Version: (
public static bool IsActiveControl(
	this Control control


Type: System.Windows.FormsControl
the control to check

Return Value

Type: Boolean
true 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