Vcl.Themes.TStyleHook.DoubleBuffered

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DoubleBuffered: Boolean read FDoubleBuffered write FDoubleBuffered;

C++

__property bool DoubleBuffered = {read=FDoubleBuffered, write=FDoubleBuffered, nodefault};

Properties

Type Visibility Source Unit Parent
property class protected
Vcl.Themes.pas
Vcl.Themes.hpp
Vcl.Themes TStyleHook

Description

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.

See Also