ESRI.ArcGIS.ADF.Web.UI.WebControls
SelectedItem Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > DropDownBox Class : SelectedItem Property




The selected item.

Syntax

Visual Basic (Declaration) 
<ResCategoryAttribute("DropDownBox")>
<DesignerSerializationVisibilityAttribute()>
<ResDescriptionAttribute("The selected item.")>
<NotifyParentPropertyAttribute(True)>
<BrowsableAttribute(False)>
Public Property SelectedItem As ListItem
Visual Basic (Usage)Copy Code
Dim instance As DropDownBox
Dim value As ListItem
 
instance.SelectedItem = value
 
value = instance.SelectedItem
C# 
[ResCategoryAttribute("DropDownBox")]
[DesignerSerializationVisibilityAttribute()]
[ResDescriptionAttribute("The selected item.")]
[NotifyParentPropertyAttribute(true)]
[BrowsableAttribute(false)]
public ListItem SelectedItem {get; set;}

Remarks

Specifies which of the DropDownBox's Items is selected. Typically used to retrieve the item selected by the user at runtime.

See Also

© 2010 All Rights Reserved.