Control.ResizeRedraw 屬性

定義

取得或設定值,指出控制項重設大小時,是否會重繪本身。Gets or sets a value indicating whether the control redraws itself when resized.

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

屬性值

如果在重設大小時會重繪本身,則為 true,否則為 falsetrue if the control redraws itself when resized; otherwise, false.

備註

ResizeRedraw 屬性值相當於傳入 ControlStyles.ResizeRedraw 值做為參數時,GetStyle 方法的傳回值。The ResizeRedraw property value is equivalent to the return value of the GetStyle method when passing in the ControlStyles.ResizeRedraw value as a parameter.

適用於

另請參閱