Method SetBounds
SetBounds(float, float, float, float, BoundsSpecified)
Sets the specified bounds of the control to new location and size.
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.