Click or drag to resize

ExtensionMethodsHandleNeeded Method

A Control extension method that ensures that the handle for a control is created.

Namespace:  Jam.Shell
Assembly:  ShellBrowser (in ShellBrowser.dll) Version: 7.1
Syntax
public static void HandleNeeded(
	this Control pControl
)

Parameters

pControl
Type: System.Windows.FormsControl
The pControl to act on.

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).
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown if the control does not have a handle.
See Also