Control.DoubleBuffered Control.DoubleBuffered Control.DoubleBuffered Control.DoubleBuffered Property

定义

获取或设置一个值,该值指示此控件是否应使用辅助缓冲区重绘其图面,以减少或避免闪烁。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

属性值

如果应使用双缓冲绘制控件的图面,则为 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.

适用于

另请参阅