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




A set of PageLayout or Map controls that this Toolbar acts on.

Syntax

Visual Basic (Declaration) 
<PersistenceModeAttribute()>
<NotifyParentPropertyAttribute(True)>
<ResCategoryAttribute("Buddy Controls")>
<ResDescriptionAttribute("A set of PageLayout or Map controls that this Toolbar acts on.")>
<DesignerSerializationVisibilityAttribute()>
Public ReadOnly Property BuddyControls As BuddyControlCollection
Visual Basic (Usage)Copy Code
Dim instance As ToolbarBase
Dim value As BuddyControlCollection
 
value = instance.BuddyControls
C# 
[PersistenceModeAttribute()]
[NotifyParentPropertyAttribute(true)]
[ResCategoryAttribute("Buddy Controls")]
[ResDescriptionAttribute("A set of PageLayout or Map controls that this Toolbar acts on.")]
[DesignerSerializationVisibilityAttribute()]
public BuddyControlCollection BuddyControls {get;}

Remarks

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.

See Also

© 2010 All Rights Reserved.