Property Bounds
Bounds
The bounds represent the View-relative rectangle used for this view; the area inside of the view.
public Rect Bounds { get; set; }
Property Value
- Rect
The bounds.
Remarks
Updates to the Bounds update the Frame, and has the same side effects as updating the Frame.
Because Bounds coordinates are relative to the upper-left corner of the View, the coordinates of the upper-left corner of the rectangle returned by this property are (0,0). Use this property to obtain the size and coordinates of the client area of the control for tasks such as drawing on the surface of the control.