Microsoft .net
Almost every visual control, including the Windows Form itself, can be resized using the mouse. Resize
grippers will appear when the form or control has focus in the Design view. For a Windows Form, these
will be visible only on the bottom, the right side, and the bottom right corner. Use the mouse to grab the
gripper and drag it to the size you want. As you are resizing, the dimensions of the form will be
displayed on the bottom right of the status bar.
There is a corresponding property for the dimensions and positions of Windows Forms and controls. As
you may recall from Chapter 2 , the Properties window, shown on the right - hand side of Figure 8 - 1 ,
shows the current value of many of the attributes of the form. This includes the Size property, a
compound property made up of the Height and Width properties . Click on the + icon to display the
individual properties for any compound properties. You can set the dimensions of the form in pixels by
entering either an individual value in both the Height and Width properties, or a compound Size value
in the format width, height .
The Properties window, shown in Figure 8 - 2 , displays some of the available properties for customizing
the form ’ s appearance and behavior.
Subscribe to:
Posts (Atom)