ESRI.ArcGIS.ADF.Web.UI.WebControls
SelectedValue Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > DropDownBox Class : SelectedValue Property




The selected item's value.

Syntax

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

Remarks

This is the value of the item selected in the DropDownBox.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.