Vcl.Touch.GestureCtrls.TGesturePreview.DoubleBuffered
Delphi
property DoubleBuffered: Boolean read FDoubleBuffered write SetDoubleBuffered stored IsDoubleBufferedStored default 1;
C++
__property DoubleBuffered = {default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.Touch.GestureCtrls.pas Vcl.Touch.GestureCtrls.hpp |
Vcl.Touch.GestureCtrls | TGesturePreview |
Description
Determines whether the control's image is rendered directly to the window or painted to an in-memory bitmap first.
Vcl.Touch.GestureCtrls.TGesturePreview.DoubleBuffered inherits from Vcl.Controls.TWinControl.DoubleBuffered. All content below this line refers to Vcl.Controls.TWinControl.DoubleBuffered.
Determines whether the control's image is rendered directly to the window or painted to an in-memory bitmap first.
When DoubleBuffered is false, the windowed control paints itself directly to the window. When DoubleBuffered is true, the windowed control paints itself to an in-memory bitmap that is then used to paint the window. Double buffering reduces the amount of flicker when the control repaints, but is more memory intensive.
When a windowed control is a dock site and has an associated dock manager, it must be double-buffered.
Note: Some controls, such as TRichEdit, can't paint themselves into a bitmap. For such controls, DoubleBuffered must be set to false.
See Also
Code Examples