Method SetBounds
SetBounds(RectD, BoundsSpecified)
Sets the specified bounds of the control to new location and size.
public virtual void SetBounds(RectD newBounds, BoundsSpecified specified)
Parameters
newBoundsRectDNew location and size.
specifiedBoundsSpecifiedSpecifies which bounds to use when applying new location and size.
SetBounds(float, float, float, float, BoundsSpecified)
Sets the specified bounds of the control to new location and size.
public virtual void SetBounds(float x, float y, float width, float height, BoundsSpecified specified)
Parameters
xfloatThe new Left property value of the control.
yfloatThe new Top property value of the control.
widthfloatThe new Width property value of the control.
heightfloatThe new Height property value of the control.
specifiedBoundsSpecifiedSpecifies which bounds to use when applying new location and size.