System.Web.UI.WebControls.ListControl: Property Members

The properties of System.Web.UI.WebControls.ListControl are listed below. For a list of all members, see the ListControl Members list.

See Also: Inherited members from System.Web.UI.WebControls.DataBoundControl

Public Properties

AppendDataBoundItemsbool.

Gets or sets a value that indicates whether list items are cleared before data binding.

AutoPostBackbool.

Gets or sets a value indicating whether a postback to the server automatically occurs when the user changes the list selection.

CausesValidationbool.

Gets or sets a value indicating whether validation is performed when a control that is derived from the System.Web.UI.WebControls.ListControl class is clicked.

DataMemberstring. Documentation for this section has not yet been entered.
DataSourceobject. Documentation for this section has not yet been entered.
DataTextFieldstring.

Gets or sets the field of the data source that provides the text content of the list items.

DataTextFormatStringstring.

Gets or sets the formatting string used to control how data bound to the list control is displayed.

DataValueFieldstring.

Gets or sets the field of the data source that provides the value of each list item.

[read-only]
ItemsListItemCollection.

Gets the collection of items in the list control.

SelectedIndexint.

Gets or sets the lowest ordinal index of the selected items in the list.

[read-only]
SelectedItemListItem.

Gets the selected item with the lowest index in the list control.

SelectedValuestring.

Gets the value of the selected item in the list control, or selects the item in the list control that contains the specified value.

Textstring.

Gets or sets the ListControl.SelectedValue property of the System.Web.UI.WebControls.ListControl control.

ValidationGroupstring.

Gets or sets the group of controls for which the control that is derived from the System.Web.UI.WebControls.ListControl class causes validation when it posts back to the server.

Protected Properties