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




Enables or disables double buffer painting, which eliminates flicker.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Behavior")>
<DescriptionAttribute("Indicates whether drawing is performed in a buffer, and after it completes, the result is output to the screen.")>
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# 
[CategoryAttribute("Behavior")]
[DescriptionAttribute("Indicates whether drawing is performed in a buffer, and after it completes, the result is output to the screen.")]
public bool DoubleBuffer {get; set;}
Managed Extensions for C++ 
[CategoryAttribute("Behavior")]
[DescriptionAttribute("Indicates whether drawing is performed in a buffer, and after it completes, the result is output to the screen.")]
public: __property bool get_DoubleBuffer();
public: __property void set_DoubleBuffer( 
   bool value
);
C++/CLI 
[CategoryAttribute("Behavior")]
[DescriptionAttribute("Indicates whether drawing is performed in a buffer, and after it completes, the result is output to the screen.")]
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