แก้ไข

แชร์ผ่าน


IControlDesignerView.Invalidate(Rectangle) Method

Definition

Notifies the design host that the area represented by the provided rectangle needs to be repainted on the design surface.

public:
 void Invalidate(System::Drawing::Rectangle rectangle);
public void Invalidate (System.Drawing.Rectangle rectangle);
abstract member Invalidate : System.Drawing.Rectangle -> unit
Public Sub Invalidate (rectangle As Rectangle)

Parameters

rectangle
Rectangle

A Rectangle representing the location and outer measurements of the view on the design surface. The coordinate-system origin for this rectangle is the top-left corner of the element to which the behavior is attached.

Applies to

See also