Click or drag to resize
ControlExtensionsDoAsyncTControl Method

Namespace: Qlik.Engine.Extensions.WinForms
Assembly: Qlik.Engine.Extensions.WinForms (in Qlik.Engine.Extensions.WinForms.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public static Task DoAsync<TControl>(
	this TControl control,
	Func<TControl, Task> action
)
where TControl : Control

Parameters

control
Type: TControl
action
Type: SystemFuncTControl, Task

Type Parameters

TControl

Return Value

Type: Task

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . 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