![]() ![]() |
ESRI.ArcGIS.ADF.Web.UI.WebControls | |
BuddyControls Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > ToolbarBase Class : BuddyControls Property |
Visual Basic (Declaration) | |
---|---|
<ResCategoryAttribute("Buddy Controls")> <NotifyParentPropertyAttribute(True)> <ResDescriptionAttribute("A set of PageLayout or Map controls that this Toolbar acts on.")> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)> <PersistenceModeAttribute(PersistenceMode.InnerProperty)> Public ReadOnly Property BuddyControls As BuddyControlCollection |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ToolbarBase Dim value As BuddyControlCollection value = instance.BuddyControls |
C# | |
---|---|
[ResCategoryAttribute("Buddy Controls")] [NotifyParentPropertyAttribute(true)] [ResDescriptionAttribute("A set of PageLayout or Map controls that this Toolbar acts on.")] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)] [PersistenceModeAttribute(PersistenceMode.InnerProperty)] public BuddyControlCollection BuddyControls {get;} |
At least one Map or PageLayout control must be added to the BuddyControls collection. Multiple controls may be added, which allows the user to control multiple maps or page layouts with a single toolbar. Be aware that commands in a toolbar will be applied to all maps or page layouts. For example, a Full Extent command will cause all buddied maps/page layouts to zoom to full extent.
The BuddyControls collection can contain either Map or PageLayout controls, but not both. The type of buddy control is specified by the BuddyControlType property.
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