How to: Change the Borders of Windows Forms

You have several border styles to choose from when you are determining the appearance and behavior of your Windows Forms. By changing the FormBorderStyle property, you can control the resizing behavior of the form. In addition, setting the FormBorderStyle affects how the caption bar is displayed as well as what buttons might appear on it. For more information, see FormBorderStyle.

There is extensive support for this task in Visual Studio.

For more information, see How to: Change the Borders of Windows Forms Using the Designer and How to: Change the Borders of Windows Forms Using the Designer and How to: Change the Borders of Windows Forms Using the Designer and How to: Change the Borders of Windows Forms Using the Designer and How to: Change the Borders of Windows Forms Using the Designer.

To set the border style of Windows Forms programmatically

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft