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!

ListControl Members

Public:

Constructor

ListControl Constructor Creates a new ListControl

Properties

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.
AutoPostBack AutoPostBack property. This automatically causes a postback to the server whenever the user changes the selection of the list.
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.]
DataSource DataSource property. Provides data to populate the list with items. ListItems are initialized from DataTextField and DataValueField.
DataTextField DataTextField property. The field in the datasource which provides the ListItem text.
DataValueField DataValueField property. The field in the datasource which provides the ListItem value.
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.]
Items Items property. The collection of ListItems that currently populate the list.
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.]
SelectedIndex SelectedIndex property. The index of the currently selected item.
SelectedItem SelectedItem property. The currently selected item.
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.
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.

Methods

AddParsedSubObject Method of IParserAccessor. Override to add ListItems to Items collection.
ApplyStyle (inherited from WebControl) [To be supplied.]
CopyBaseAttributes (inherited from WebControl) [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 (inherited from WebControl) 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 (inherited from WebControl) Merge the attributes set in the specified style that are not already set on the control.
RenderBeginTag (inherited from WebControl) 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 (inherited from WebControl) Render the end tag. This is made public so other controls can use to render multiple controls.
SetAttribute (inherited from WebControl) 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.]
SelectedIndexChanged [To be supplied.]
Unload (inherited from Control) [To be supplied.]

Protected:

Properties

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.]
SelectedIndices SelectedIndices property. Protected property for getting array of selected indices.
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.

Methods

AddAttributesToRender (inherited from WebControl) 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.]
ClearSelection Protected method for clearing selection.
CreateChildControls (inherited from Control) [To be supplied.]
CreateControlStyle (inherited from WebControl) 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 (inherited from WebControl) [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 restore selection.
Mark [To be supplied.]
MaybeCreateControls (inherited from Control) [To be supplied.]
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnDataBind [To be supplied.]
OnInit (inherited from Control) [To be supplied.]
OnLoad (inherited from Control) [To be supplied.]
OnPreRender (inherited from Control) [To be supplied.]
OnSelectedIndexChanged Method used to raise the OnSelectedIndexChanged event.
OnUnload (inherited from Control) [To be supplied.]
PreRender [To be supplied.]
PreRenderRecursive (inherited from Control) [To be supplied.]
Render (inherited from WebControl) Render the control into the given writer.
RenderChildren (inherited from Control) [To be supplied.]
RenderContents (inherited from WebControl) Render the contents of the tag.
SaveState [To be supplied.]
Select [To be supplied.]

Event Hookup:

Methods

AddOnDataBind (inherited from Control) [To be supplied.]
AddOnInit (inherited from Control) [To be supplied.]
AddOnLoad (inherited from Control) [To be supplied.]
AddOnPreRender (inherited from Control) [To be supplied.]
AddOnSelectedIndexChanged Adds an event handler for the OnSelectedIndexChanged event.
AddOnUnload (inherited from Control) [To be supplied.]
RemoveOnDataBind (inherited from Control) [To be supplied.]
RemoveOnInit (inherited from Control) [To be supplied.]
RemoveOnLoad (inherited from Control) [To be supplied.]
RemoveOnPreRender (inherited from Control) [To be supplied.]
RemoveOnSelectedIndexChanged Removes the given handler for the OnSelectedIndexChanged event. If there are duplicate entries, ALL are removed.
RemoveOnUnload (inherited from Control) [To be supplied.]

See Also

ListControl Class | System.Web.UI.WebControls Namespace