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.

注解

当传入 ControlStyles.ResizeRedraw 值作为参数时,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.

适用于

另请参阅