ControlExtensionsSetDoubleBuffered Method

Sets the double buffered state of a control

Definition

Namespace: KGySoft.WinForms
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
public static void SetDoubleBuffered(
	this Control control,
	bool useDoubleBuffering
)

Parameters

control  Control
The control to adjust.
useDoubleBuffering  Boolean
if control should use double buffering; otherwise, .

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