This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
WebControl Members
Public:
Constructor
Properties
AccessKey |
AccessKey property. The keyboard shortcut used by the control. |
Attributes |
Attributes collection. Low-level access to arbitrary attributes. |
BackColor |
BackColor property. The background color of the control. |
BorderColor |
BorderColor property. The color of the border around the control. |
BorderStyle |
BorderStyle property. The style of border around the control. |
BorderWidth |
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 |
CssClass property. The CSS Class name associated with the control. |
DataBindings (inherited from Control) |
[To be supplied.] |
Enabled |
Enabled property. The enabled state of the control. |
Font |
Font property. The font used for the text within the control. |
ForeColor |
ForeColor property. The foreground color of the control. Typically determines the color of the text within the control. |
Height |
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 |
CssStyle collection. Low-level access to arbitrary CSS styles. |
TabIndex |
TabIndex property. The tab order of the control. |
ToolTip |
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 |
Width property. The width of the control. |
Methods
AddParsedSubObject (inherited from Control) |
[To be supplied.] |
ApplyStyle |
[To be supplied.] |
CopyBaseAttributes |
[To be supplied.] |
DataBind (inherited from Control) |
[To be supplied.] |
Dispose (inherited from Control) |
Override to perform final cleanup. |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
FindControl (inherited from Control) |
Overloaded. [To be supplied.] |
GetAttribute |
Method of IAttributeAccessor. |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) |
Gets the Type of the Object. |
HasControls (inherited from Control) |
[To be supplied.] |
HasDataBindings (inherited from Control) |
[To be supplied.] |
MergeStyle |
Merge the attributes set in the specified style that are not already set on the control. |
RenderBeginTag |
Render the begin tag. This is made public so other controls can use to render multiple controls. |
RenderControl (inherited from Control) |
[To be supplied.] |
RenderEndTag |
Render the end tag. This is made public so other controls can use to render multiple controls. |
SetAttribute |
Method of IAttributeAccessor. |
SetRenderMethodDelegate (inherited from Control) |
[To be supplied.] |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Events
DataBind (inherited from Control) |
[To be supplied.] |
Init (inherited from Control) |
[To be supplied.] |
Load (inherited from Control) |
[To be supplied.] |
PreRender (inherited from Control) |
[To be supplied.] |
Unload (inherited from Control) |
[To be supplied.] |
Protected:
Properties
Methods
AddAttributesToRender |
Add to writer those HTML attributes and styles that need to be rendered. |
BubbleEvent (inherited from Control) |
[To be supplied.] |
BuildProfileTree (inherited from Control) |
[To be supplied.] |
ClearChildViewState (inherited from Control) |
[To be supplied.] |
CreateChildControls (inherited from Control) |
[To be supplied.] |
CreateControlStyle |
A protected method used to create the style object that is used internally to implement all style related properties. Controls may override to create an appropriate typed style. |
DesignTimeRenderInternal |
[To be supplied.] |
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
FindControl (inherited from Control) |
Overloaded. [To be supplied.] |
Init (inherited from Control) |
Used by control developers to initialize child controls. |
InvokeBubbleEvent (inherited from Control) |
[To be supplied.] |
IsLiteralContent (inherited from Control) |
[To be supplied.] |
IsMarked (inherited from Control) |
[To be supplied.] |
LoadState |
Load previously saved state. Overridden to handle State, Style, and Attributes. |
Mark |
Begin tracking state changes on the control. Any changes made after "mark" will be tracked and saved as part of the control viewstate. |
MaybeCreateControls (inherited from Control) |
[To be supplied.] |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
OnDataBind (inherited from Control) |
[To be supplied.] |
OnInit (inherited from Control) |
[To be supplied.] |
OnLoad (inherited from Control) |
[To be supplied.] |
OnPreRender (inherited from Control) |
[To be supplied.] |
OnUnload (inherited from Control) |
[To be supplied.] |
PreRender (inherited from Control) |
Performs any prerendering steps necessary prior to saving viewstate and rendering content. |
PreRenderRecursive (inherited from Control) |
[To be supplied.] |
Render |
Render the control into the given writer. |
RenderChildren (inherited from Control) |
[To be supplied.] |
RenderContents |
Render the contents of the tag. |
SaveState |
Save any state that was modified after "mark". |
Event Hookup:
Methods
See Also
WebControl Class | System.Web.UI.WebControls Namespace