BorderWidth
width of the border
Controls
a collection of all the controls contained within the
web control (its child controls)
CssClass
indicates the style class within the current CSS style
sheet that should be applied to the web control
Enabled
determines whether the web control is active and able
to receive user input
EnableTheming
determines whether the control uses themes
Font
a FontInfo object representing the controls current
font
Properties of FontInfo include Bold, Italic, Name,
Names, Overline, Size, Strikeout, and Underline.
ForeColor
the controls current foreground color
Height
the current height of the control
SkinID
the ID of the skin to be used by the control
Style
allows the manipulation of the CSS style elements
through the returned CssStyleCollection object
TabIndex
defines the order in which controls on the page are se-
lected when the user presses Tab; lowest value is selec-
ted first
Tooltip
the text that appears in a popup when the cursor is
hovered over the control
Visible
determines whether the control appears on-screen in
the users browser
Width
the current width of the control
Methods
ApplyStyle
copies an element of a Style object to a control
612
Appendix A: Web Control Reference

Get Build Your Own ASP.NET 2.0 Web Site Using C# & VB, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.