![]() ![]() |
ESRI.ArcGIS.ADF.Web.UI.WebControls | |
FindToolbarGroupsBuddiedTo Method | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Toolbar Class : FindToolbarGroupsBuddiedTo Method |
- buddyControlID
- ID of the control with toolbars buddied. Either a Map or a PageLayout control.
- page
- Page containing the toolbars and buddy control.
Visual Basic (Declaration) | |
---|---|
Public Shared Function FindToolbarGroupsBuddiedTo( _ ByVal buddyControlID As String, _ ByVal page As Page _ ) As String() |
Visual Basic (Usage) | ![]() |
---|---|
Dim buddyControlID As String Dim page As Page Dim value() As String value = Toolbar.FindToolbarGroupsBuddiedTo(buddyControlID, page) |
C# | |
---|---|
public static string[] FindToolbarGroupsBuddiedTo( string buddyControlID, Page page ) |
Parameters
- buddyControlID
- ID of the control with toolbars buddied. Either a Map or a PageLayout control.
- page
- Page containing the toolbars and buddy control.
Return Value
Array of strings with toolbar group names.A Toolbar is buddied either to a Map control or to a PageLayout control. Multiple toolbars may be buddied to a Map or PageLayout. These toolbars may be grouped so that if a tool is activated on one toolbar, all tools on all grouped toolbars are deactivated. This is done by specifying the same value for the Toolbar.Group property for each toolbar.
This method finds all toolbar groups for a specified Map or PageLayout control. Since it is a static method, it is not necessary to use a specific toolbar instance to use the method.
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