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




The type of the buddy controls associated with this control. Either a set of Map controls or a set of PageLayout controls can be associated with this control, but not a set of both.

Syntax

Visual Basic (Declaration) 
<NotifyParentPropertyAttribute(True)>
<ResCategoryAttribute("Buddy Controls")>
<DefaultValueAttribute()>
<ResDescriptionAttribute("The type of the buddy controls associated with this control.  Either a set of Map controls or a set of PageLayout controls can be associated with this control, but not a set of both.")>
Public Property BuddyControlType As BuddyControlType
Visual Basic (Usage)Copy Code
Dim instance As ToolbarBase
Dim value As BuddyControlType
 
instance.BuddyControlType = value
 
value = instance.BuddyControlType
C# 
[NotifyParentPropertyAttribute(true)]
[ResCategoryAttribute("Buddy Controls")]
[DefaultValueAttribute()]
[ResDescriptionAttribute("The type of the buddy controls associated with this control.  Either a set of Map controls or a set of PageLayout controls can be associated with this control, but not a set of both.")]
public BuddyControlType BuddyControlType {get; set;}

Remarks

The tools and command on a Toolbar work with only one type of control: either Map or PageLayout. The BuddyControlType property determines which type of control the Toolbar works. The BuddyControls collection accepts either Map or PageLayout controls, depending on the value of BuddyControlType. Valid BuddyControlType values are Map and PageLayout.

See Also

© 2010 All Rights Reserved.