ESRI.ArcGIS.ADF.Web.UI.WebControls
BuddyControlType Property
See Also  Send Feedback
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) 
<ResCategoryAttribute("Buddy Controls")>
<NotifyParentPropertyAttribute(True)>
<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# 
[ResCategoryAttribute("Buddy Controls")]
[NotifyParentPropertyAttribute(true)]
[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.

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.