
Creating Windows Forms • Chapter 7 319
AutoScroll Determines whether scroll bars will automatically
appear if controls are placed outside the dialog’s
client area.
AutoScrollMargin The margin around controls during autoscroll.
AutoScrollMinSize The minimum logical size for the autoscroll region.
BackColor The background color used to display text and
graphics in the dialog.
BackgroundImage The background image used for the dialog.
BorderStyle Controls the appearance of the border for the dialog.
This will also affect how the caption bar is displayed,
and what buttons appear on it.
CancelButton The cancel button of the dialog. If this is set, the