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




The collection of ToolbarItem objects on this Toolbar.

Syntax

Visual Basic (Declaration) 
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.ToolbarCollectionEditor, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")>
<ResCategoryAttribute("Data")>
<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.")>
<NotifyParentPropertyAttribute(True)>
<PersistenceModeAttribute(PersistenceMode.InnerProperty)>
Public ReadOnly Property ToolbarItems As ToolbarItemCollection
Visual Basic (Usage)Copy Code
Dim instance As ToolbarBase
Dim value As ToolbarItemCollection
 
value = instance.ToolbarItems
C# 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.ToolbarCollectionEditor, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")]
[ResCategoryAttribute("Data")]
[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.")]
[NotifyParentPropertyAttribute(true)]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
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.

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.