Label Control in VB.NET

How to use Label control in VB.NET?

Explanation

Label Control

Label 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.
Video:
Explanation:
  • 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.

Visual Basic Tutorial


Ask Questions

Ask Question