Label (control)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Labels being used to indicate the purpose of a spinner box, as well as for a category heading.

A label is a user interface control which displays text on a form. It is usually a static control; having no interactivity. A label is generally used to identify a nearby text box or other widget.[1] Some labels can respond to events such as mouse clicks, allowing the text of the label to be copied, but this is not standard user-interface practice. Labels usually cannot be given the focus, although in applications written in Java using the Swing toolkit, labels can be focused through tabbing[citation needed]. By contrast, in native Microsoft Windows applications, labels cannot be focused by this method.

There is also a similar control known as a link label. Unlike a standard label, a link label looks and acts like a hyperlink, and can be selected and activated.[2] This control may have features such as changing colour when clicked or hovered over.

[edit] References

  1. ^ "Label Control Overview (Windows Forms)". MSDN. http://msdn2.microsoft.com/en-us/library/dchbz2ff.aspx. 
  2. ^ "LinkLabel Control Overview (Windows Forms)". MSDN. http://msdn2.microsoft.com/en-us/library/4s0sy2k0.aspx. 
Personal tools
Namespaces

Variants
Actions
Navigation
Interaction
Toolbox
Print/export
Languages