Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
DoubleBuffer Property
See Also 
Leadtools.WinForms Namespace > RasterImageViewer 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 Overridable Property DoubleBuffer As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RasterImageViewer
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 virtual bool DoubleBuffer {get; set;}
Managed Extensions for C++ 
[DescriptionAttribute("Indicates whether drawing is performed in a buffer, and after it completes, the result is output to the screen.")]
[CategoryAttribute("Behavior")]
public: __property virtual bool get_DoubleBuffer();
public: __property virtual void set_DoubleBuffer( 
   bool value
);
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:
virtual property bool DoubleBuffer {
   bool get();
   void set (bool value);
}

Return Value

true to enable double buffer painting, false to disable it.

Example

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