NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Label Properties

The properties of the Label class are listed below. For a complete list of Label class members, see the Label Members topic.

Public:

AccessKey (inherited from WebControl) AccessKey property. The keyboard shortcut used by the control.
Attributes (inherited from WebControl) Attributes collection. Low-level access to arbitrary attributes.
BackColor (inherited from WebControl) BackColor property. The background color of the control.
BorderColor (inherited from WebControl) BorderColor property. The color of the border around the control.
BorderStyle (inherited from WebControl) BorderStyle property. The style of border around the control.
BorderWidth (inherited from WebControl) BorderWidth property. The width of the border around the control.
ClientID (inherited from Control) [To be supplied.]
Controls (inherited from Control) [To be supplied.]
CssClass (inherited from WebControl) CssClass property. The CSS Class name associated with the control.
DataBindings (inherited from Control) [To be supplied.]
Enabled (inherited from WebControl) Enabled property. The enabled state of the control.
Font (inherited from WebControl) Font property. The font used for the text within the control.
ForeColor (inherited from WebControl) ForeColor property. The foreground color of the control. Typically determines the color of the text within the control.
Height (inherited from WebControl) Height property. The height of the control.
ID (inherited from Control) [To be supplied.]
MaintainState (inherited from Control) [To be supplied.]
NamingContainer (inherited from Control) [To be supplied.]
Page (inherited from Control) [To be supplied.]
Parent (inherited from Control) [To be supplied.]
Site (inherited from Control) [To be supplied.]
Style (inherited from WebControl) CssStyle collection. Low-level access to arbitrary CSS styles.
TabIndex (inherited from WebControl) TabIndex property. The tab order of the control.
Text Text property. The text to be shown for the label.
ToolTip (inherited from WebControl) Tooltip property. The tooltip displayed when the mouse if over the control.
UniqueID (inherited from Control) [To be supplied.]
Visible (inherited from Control) [To be supplied.]
Width (inherited from WebControl) Width property. The width of the control.

Protected:

AllowsChildren (inherited from Control) [To be supplied.]
ChildControlsCreated (inherited from Control) [To be supplied.]
Context (inherited from Control) [To be supplied.]
HasChildViewState (inherited from Control) [To be supplied.]
State (inherited from Control) [To be supplied.]
StateBagIgnoresCase (inherited from WebControl) [To be supplied.]
TagName (inherited from WebControl) Protected property to determine which tag to render as.

See Also

Label Class | System.Web.UI.WebControls Namespace