This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IC > ICustomizeDialog Interface > ICustomizeDialog.ToolbarsCategory Property (ArcObjects .NET 10.4 SDK) |
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(
BSTR* 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
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.
1041 800a0411: Customize dialog does not have valid component categories