Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
DoubleBuffer Property
See Also 
Leadtools.WinForms Namespace > RasterImageList Class : DoubleBuffer Property



Enables or disables double buffer painting, which eliminates flicker.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Indicates whether drawing is performed in a buffer, and after it completes, the result is output to the screen.")>
<CategoryAttribute("Behavior")>
Public Property DoubleBuffer As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RasterImageList
Dim value As Boolean
 
instance.DoubleBuffer = value
 
value = instance.DoubleBuffer
C# 
[DescriptionAttribute("Indicates whether drawing is performed in a buffer, and after it completes, the result is output to the screen.")]
[CategoryAttribute("Behavior")]
public bool DoubleBuffer {get; set;}
C++/CLI 
[DescriptionAttribute("Indicates whether drawing is performed in a buffer, and after it completes, the result is output to the screen.")]
[CategoryAttribute("Behavior")]
public:
property bool DoubleBuffer {
   bool get();
   void set (bool value);
}

Return Value

true to enable double buffer painting; false otherwise.

Example

For an example, refer to RasterImageList.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also