This documentation is archived and is not being maintained.

Label Control (Windows Forms)

Visual Studio .NET 2003

Windows Forms Label controls are used to display text or images that cannot be edited by the user. They are used to identify objects on a form — to provide a description of what a certain control will do if clicked, for example, or to display information in response to a run-time event or process in your application. Because the Label control cannot receive focus, it can also be used to create access keys for other controls.

In This Section

Introduction to the Windows Forms Label Control
Explains what this control is and its key features and properties.
Creating Access Keys with Windows Forms Label Controls
Describes how to use a label to define an access key for another control.
Sizing a Windows Forms Label Control to Fit Its Contents
Explains adjusting the size of a label control for its caption.

Related Sections

Controls You Can Use On Windows Forms
Provides a complete list of Windows Forms controls, with links to information on their use.
Label Class
Describes this class and has links to all its members.