[Browsable(false)] public virtual RectangleF Bounds {get; set;}
Property Value
ThisRectangleF
value describes the size and position of the object in document coordinates. The Width
and Height
must be non-negative.[Browsable(false)] public virtual RectangleF Bounds {get; set;}
RectangleF
value describes the size and position of the object in document coordinates. The Width
and Height
must be non-negative.ChangedBounds
. You should override setting this property if you want to make sure this object never gets certain bounds, such as a size that's too small or large, or a position that is "out-of-bounds" for your application. However, if you only want to constrain how the user is allowed to move this object around with the mouse, you should override ComputeMove instead, or override DoMove if the constraint should be specific to a particular view or if something other than the Location should be set.