Export (0) Print
Expand All

How to: Resize Windows Forms Using the Designer

There are a several ways that you can specify the size of your Windows Form. In Visual Studio, you can change the size of a form by using the Windows Form Designer or by using the Properties window. For information about changing the size of a form by using code, see How to: Resize Windows Forms.

NoteNote:

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To resize a form in the Windows Forms Designer

  1. In the Windows Forms Designer, click the form to select it.

  2. Click and drag one of the eight sizing handles that appear on the border of the form. The sizing handles look like small white boxes, and the mouse pointer turns into a double-headed arrow when you point at a handle.

    NoteNote:

    If you press the ARROW keys while holding down the SHIFT key, you can resize the form more precisely.

To resize a form using the Properties window

  • In the Properties window, click the Size property and enter values for the width and height, separated by a comma.

    NoteNote:

    You can expand the Size property to enter the Width and Height values individually.

Community Additions

ADD
Show:
© 2015 Microsoft