Control.DoubleBuffered 属性


获取或设置一个值,该值指示此控件是否应使用辅助缓冲区重绘其图面,以减少或避免闪烁。Gets or sets a value indicating whether this control should redraw its surface using a secondary buffer to reduce or prevent flicker.

 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


如果应使用双缓冲绘制控件的图面,则为 true;否则为 falsetrue if the surface of the control should be drawn using double buffering; otherwise, false.


缓冲图形可减少或消除因渐进式重绘显示的图面部分而引起的闪烁。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.


DoubleBuffered 不是可绑定的属性。DoubleBuffered is not a bindable property.