ESRI.ArcGIS.ADF.Web.UI.WebControls
ToolbarItems Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > ToolbarBase Class : ToolbarItems Property




The collection of ToolbarItem objects on this Toolbar.

Syntax

Visual Basic (Declaration) 
<ResDescriptionAttribute("The collection of ToolbarItem objects on this Toolbar.  The Tools defined here will override the ToolItems on the Map or PageLayout controls that you set up as this Toolbar's buddy controls.")>
<DesignerSerializationVisibilityAttribute()>
<NotifyParentPropertyAttribute(True)>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.ToolbarCollectionEditor, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")>
<ResCategoryAttribute("Data")>
<PersistenceModeAttribute()>
Public ReadOnly Property ToolbarItems As ToolbarItemCollection
Visual Basic (Usage)Copy Code
Dim instance As ToolbarBase
Dim value As ToolbarItemCollection
 
value = instance.ToolbarItems
C# 
[ResDescriptionAttribute("The collection of ToolbarItem objects on this Toolbar.  The Tools defined here will override the ToolItems on the Map or PageLayout controls that you set up as this Toolbar's buddy controls.")]
[DesignerSerializationVisibilityAttribute()]
[NotifyParentPropertyAttribute(true)]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.ToolbarCollectionEditor, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")]
[ResCategoryAttribute("Data")]
[PersistenceModeAttribute()]
public ToolbarItemCollection ToolbarItems {get;}

Remarks

The ToolbarItems contains a set of tools and other items on the toolbar with which the user interacts with the map or page layout. The ToolbarItems is a ToolbarItemCollection of one or more ToolbarItem objects. Each ToolbarItem (an abstract class) may be a Tool, Command, DropDownBox, or Space.

The Tools defined here will override the ToolItems on the Map or PageLayout controls that you set up as this Toolbar's buddy controls.

See Also

© 2010 All Rights Reserved.