ControlExtensionsDoTControl Method (TControl, Action) |
Namespace: Qlik.Engine.Extensions.WinFormsAssembly: Qlik.Engine.Extensions.WinForms (in Qlik.Engine.Extensions.WinForms.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic static void Do<TControl>(
this TControl control,
Action action
)
where TControl : Control
<ExtensionAttribute>
Public Shared Sub Do(Of TControl As Control) (
control As TControl,
action As Action
)
Parameters
- control
- Type: TControl
- action
- Type: SystemAction
Type Parameters
- TControl
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