Bagikan melalui


Label Control (Windows Forms)

Important noteImportant Note:

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

Reference

  • Label
    Describes this class and has links to all its members.