System.Web.UI.WebControls.ListControl.SelectedItem Property

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

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.DefaultValue(null)]
[System.ComponentModel.Browsable(false)]
public virtual ListItem SelectedItem { get; }

Value

Documentation for this section has not yet been entered.

Remarks

If the list control allows only a single selection, use this property to get the individual properties of the selected item. If the list control allows multiple selections, use this property to get the properties of the lowest indexed item selected from the list control.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0