This document is archived and information here might be outdated.  Recommended version.


ICustomizeDialog.ToolbarsCategory Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Controls)  

ICustomizeDialog.ToolbarsCategory Property

The GUID of the component category used for toolbar definitions.

[Visual Basic .NET]
Public Property ToolbarsCategory As String
[C#]
public string ToolbarsCategory {get; set;}
[C++]
HRESULT get_ToolbarsCategory(
  System.String* pVal
);
[C++]
HRESULT put_ToolbarsCategory(
  BSTR pVal
);
[C++]

Parameters pVal [out, retval]
pVal is a parameter of type BSTR* pVal [in]
pVal is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine.

Description

The guid of the component category used by the CustomizeDialog to read IToolbarDef objects. By default the ToolbarsCategory is set to the "ESRI Controls Toolbars" category:

"{5155BBC7-A6E9-4AF9-81DB-A16742D5A026}"

Set the ToolbarsCategory to a valid guid of your own component category in order for the CustomizeDialog to pick up your own custom toolsets rather than the default control toolsets. The StartDialog method will extract all valid toolsets from this component category.

Errors Returned

1041 800a0411: Customize dialog does not have valid component categories 

See Also

ICustomizeDialog Interface