![]() ![]() | ||
The Label class is much like the labels you use in Windows forms. Here's the hierarchy of this class:
Object Control WebControl Label
The only notable non-inherited property of this class is the Text property, which gets and sets the text in the label (this control has no non-inherited methods or events). Note that as with other Web server controls, I am not listing the notable properties, methods, and events this class inherits from the Control and WebControl classes—you can find them in Tables 15.1 to 15.5.
![]() ![]() | ||