ArcObjects Library Reference (Controls)  

ICustomizeDialog2.PalettesCategory Property

The GUID of the component category used for palette definitions.

[Visual Basic .NET]
Public Property PalettesCategory As String
[C#]
public string PalettesCategory {get; set;}
[C++]
HRESULT get_PalettesCategory(
  BSTR* pVal
);
[C++]
HRESULT put_PalettesCategory(
  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 IPaletteDef objects. By default the PalettesCategory is set to the "ESRI Controls Palettes" category:

"{F278DFAD-3B0B-4708-99BF-227B113CB10B}"

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

Errors Returned

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

See Also

ICustomizeDialog2 Interface