System.Windows.Forms.Control.SetBounds Method

Sets the bounds of the control to the specified location and size.

Syntax

public void SetBounds (int x, int y, int width, int height)

Parameters

x
The new Control.Left property value of the control.
y
The new Control.Top property value of the control.
width
The new Control.Width property value of the control.
height
The new Control.Height property value of the control.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0