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 Properties

The properties of the ListControl class are listed below. For a complete list of ListControl class members, see the ListControl Members topic.

Public:

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.

Protected:

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.

See Also

ListControl Class | System.Web.UI.WebControls Namespace