Many times, you need to have a label and you want it centered on the form at all times, even after sizing of the form, and you want it to stay at the bottom. Something you might use this for could be a copyright statement. DotNet provides very good support for this.

First off, you need to create a label and place it near where you want it to appear. Then, either in code, or in the property window, do 3 things:

  • Set Autosize to False
  • Set TextAlign to MiddleCenter
  • Set the Dock Property to Bottom

Once you have your text entered, it will remain centered and docked at the bottom, and will stay that way, even when changing the size the form