Click or drag to resize
ControlExtensionsInvokeOnUiThreadIfRequired Method
Version 51.0.0
Executes the Action asynchronously on the UI thread, does not block execution on the calling thread.

Namespace: CefSharp.WinForms.Internals
Assembly: CefSharp.WinForms (in CefSharp.WinForms.dll) Version: (
public static void InvokeOnUiThreadIfRequired(
	this Control control,
	Action action


Type: System.Windows.FormsControl
the control for which the update is required
Type: SystemAction
action to be performed on the 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