Label Control (Windows Forms)
The ToolStripLabel control replaces and adds functionality to the Label control. You can use the ToolStripLabel with other new controls such as the ToolStripDropDown. However, the Label control is retained for both backward compatibility and future use, if you choose.
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
- Label Control Overview (Windows Forms)
Explains what this control is and its key features and properties.
- How to: Create Access Keys with Windows Forms Label Controls
Describes how to use a label to define an access key for another control.
- How to: Size a Windows Forms Label Control to Fit Its Contents
Explains adjusting the size of a label control for its caption.
Describes this class and has links to all its members.
- Controls to Use on Windows Forms
Provides a complete list of Windows Forms controls, with links to information on their use.