Editare

Partajați prin


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.

protected:
 virtual property bool DoubleBuffered { bool get(); void set(bool value); };
protected virtual bool DoubleBuffered { get; set; }
member this.DoubleBuffered : bool with get, set
Protected Overridable Property DoubleBuffered As Boolean

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

See also