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

定義

取得或設定值,指出這個控制項是否應使用次要緩衝區重繪其介面,以減少或防止重繪閃動 (Flicker)。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.

適用於

另請參閱