Partilhar via


IVsUIShell5.GetThemedColor(Guid, String, UInt32) Method

Definition

Gets the current RGBA value of a themed color. This method fails if the color does not exist.

public:
 System::UInt32 GetThemedColor(Guid % colorCategory, System::String ^ colorName, System::UInt32 colorType);
public uint GetThemedColor (ref Guid colorCategory, string colorName, uint colorType);
abstract member GetThemedColor : Guid * string * uint32 -> uint32
Public Function GetThemedColor (ByRef colorCategory As Guid, colorName As String, colorType As UInteger) As UInteger

Parameters

colorCategory
Guid

[in] The color category of the themed color.

colorName
String

[in] The color name of the themed color.

colorType
UInt32

[in] The color type of the themed color.

Returns

The RGBA value of the themed color.

Remarks

The color categories are the following:

  1. GUID_EnvironmentColorsCategory: {624ed9c3-bdfd-41fa-96c3-7c824ea32e3d}

  2. GUID_TreeViewColorsCatetory: {92ecf08e-8b13-4cf4-99e9-ae2692382185}

  3. GUID_HeaderColorsCatetory: {4997f547-1379-456e-b985-2f413cdfa536}

  4. GUID_SearchControlColorsCatetory: {f1095fad-881f-45f1-8580-589e10325eb8}

Applies to