The members of System.Web.UI.WebControls.WebControl are listed below.
See Also: Inherited members from System.Web.UI.Control
Initializes a new instance of the System.Web.UI.WebControls.WebControl class using the specified HTML tag. |
Initializes a new instance of the System.Web.UI.WebControls.WebControl class that represents a Span HTML tag. | ||
Initializes a new instance of the System.Web.UI.WebControls.WebControl class using the specified HTML tag. |
AccessKey | string.
Gets or sets the access key that allows you to quickly navigate to the Web server control. | |
[read-only] | Attributes | AttributeCollection.
Gets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control. |
BackColor | System.Drawing.Color.
Gets or sets the background color of the Web server control. | |
BorderColor | System.Drawing.Color.
Gets or sets the border color of the Web control. | |
BorderStyle | System.Web.UI.WebControls.BorderStyle.
Gets or sets the border style of the Web server control. | |
BorderWidth | System.Web.UI.WebControls.Unit.
Gets or sets the border width of the Web server control. | |
[read-only] | ControlStyle | System.Web.UI.WebControls.Style.
Gets the style of the Web server control. This property is used primarily by control developers. |
[read-only] | ControlStyleCreated | bool.
Gets a value indicating whether a System.Web.UI.WebControls.Style object has been created for the WebControl.ControlStyle property. This property is primarily used by control developers. |
CssClass | string.
Gets or sets the Cascading Style Sheet (CSS) class rendered by the Web server control on the client. | |
Enabled | bool.
Gets or sets a value indicating whether the Web server control is enabled. | |
EnableTheming | bool.
Gets or sets a value indicating whether themes apply to this control. | |
[read-only] | Font | System.Web.UI.WebControls.FontInfo.
Gets the font properties associated with the Web server control. |
ForeColor | System.Drawing.Color.
Gets or sets the foreground color (typically the color of the text) of the Web server control. | |
[read-only] | HasAttributes | bool.
Gets a value indicating whether the control has attributes set. |
Height | System.Web.UI.WebControls.Unit.
Gets or sets the height of the Web server control. | |
SkinID | string.
Gets or sets the skin to apply to the control. | |
[read-only] | Style | CssStyleCollection.
Gets a collection of text attributes that will be rendered as a style attribute on the outer tag of the Web server control. |
TabIndex | short.
Gets or sets the tab index of the Web server control. | |
ToolTip | string.
Gets or sets the text displayed when the mouse pointer hovers over the Web server control. | |
Width | System.Web.UI.WebControls.Unit.
Gets or sets the width of the Web server control. |
[read-only] | IsEnabled | bool.
Gets a value indicating whether the control is enabled. |
[read-only] | TagKey | HtmlTextWriterTag.
Gets the System.Web.UI.HtmlTextWriterTag value that corresponds to this Web server control. This property is used primarily by control developers. |
[read-only] | TagName | string.
Gets the name of the control tag. This property is used primarily by control developers. |
ApplyStyle(System.Web.UI.WebControls.Style)
| ||
CopyBaseAttributes(System.Web.UI.WebControls.WebControl)
| ||
MergeStyle(System.Web.UI.WebControls.Style)
| ||
RenderBeginTag(HtmlTextWriter)
| ||
RenderEndTag(HtmlTextWriter)
|
AddAttributesToRender(HtmlTextWriter)
| ||
CreateControlStyle()
| ||
override | LoadViewState(object)
| |
override | Render(HtmlTextWriter)
| |
RenderContents(HtmlTextWriter)
| ||
override | SaveViewState()
| |
override | TrackViewState()
|
System.Web.UI.IAttributeAccessor.GetAttribute |
Gets an attribute of the Web control with the specified name. | |
System.Web.UI.IAttributeAccessor.SetAttribute |
Sets an attribute of the Web control to the specified name and value. |