Label Control in VB.NET
How to use Label control in VB.NET?
Label ControlLabel Control
is usually used to display text that cannot be edited by the user. But using the properties or code
that is displayed can be changed.
- In the above example the BorderStyle property of the Label1 is set to Fixed3D.
- The TextAlign property is set to MiddleCenter, AutoSize property is set to False.
- Using the click event of Label1 the label text is changed.