9.4. Labels
The Microsoft .NET Framework class library contains two classes that represent labels – the Label class, which represents a standard Windows label, and the derived LinkLabel class, which is a special version of a Windows label control that can display hyperlinks.
Label class
This class represents a standard Windows label control that is typically used to provide descriptive text for another control. The most common example is using a Label control with the TextBox or ListBox controls to provide the user with an idea as to what kind of information is expected to be entered or selected. Another example is to use a Label control to provide the main header (but not the caption or title bar) for the Form or dialog box.
The following ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access