Control.DoubleBuffered Property

Definition

Gets or sets a value indicating whether this control should redraw its surface using a secondary buffer to reduce or prevent flicker.

C#
protected virtual bool DoubleBuffered { get; set; }

Property Value

true if the surface of the control should be drawn using double buffering; otherwise, false.

Remarks

Buffered graphics can reduce or eliminate flicker that is caused by progressive redrawing of parts of a displayed surface. Buffered graphics require that the updated graphics data is first written to a buffer. The data in the graphics buffer is then quickly written to displayed surface memory. The relatively quick switch of the displayed graphics memory typically reduces the flicker that can otherwise occur.

Note

DoubleBuffered is not a bindable property.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

See also