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




The collection of ListItem objects on this DropDownBox toolbar item.

Syntax

Visual Basic (Declaration) 
<ResCategoryAttribute("DropDownBox")>
<ResDescriptionAttribute("The collection of ListItem objects on this drop down box toolbar item.")>
<NotifyParentPropertyAttribute(True)>
<PersistenceModeAttribute()>
<TypeConverterAttribute("ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.DropDownBoxItemCollectionConverter, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")>
Public Overridable Property Items As DropDownBoxItemCollection
Visual Basic (Usage)Copy Code
Dim instance As DropDownBox
Dim value As DropDownBoxItemCollection
 
instance.Items = value
 
value = instance.Items
C# 
[ResCategoryAttribute("DropDownBox")]
[ResDescriptionAttribute("The collection of ListItem objects on this drop down box toolbar item.")]
[NotifyParentPropertyAttribute(true)]
[PersistenceModeAttribute()]
[TypeConverterAttribute("ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.DropDownBoxItemCollectionConverter, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")]
public virtual DropDownBoxItemCollection Items {get; set;}

Remarks

The DropDownBoxItemCollection may be specified at design time, and also may be manipulated at runtime on initial startup of the application. The individual items in the collection are standard ASP.NET ListItem objects.

See Also

© 2010 All Rights Reserved.