Property ClipRectangle
ClipRectangle
Gets the rectangle that describes the update/invalidated region that should be repainted. What it means:
- It is in control client coordinates (origin = top-left of the client area).
- It is the bounding rectangle of the update region (the union of invalidated rectangles). The OS may give you the minimal rectangle that covers the dirty region.
- It is expressed in dips (i.e., logical coordinates for the control surface).
- By calls such as Invalidate(), Invalidate(Rectangle), Invalidate(Rectangle, bool) or by the OS when exposed regions change.
- If you call Refresh() or Update() you get a paint for the invalidated area (which may be the whole client if you invalidated the whole control).
public RectD ClipRectangle { get; set; }