VsColors Methods
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | GetColorBaseKey(Int32) | Gets the key for the color. |
![]() ![]() | GetColorID(Object^) | Gets the __VSSYSCOLOREX identifier for a given WPF color resource key. |
![]() ![]() | GetColorKey(Int32) | Gets the WPF ResourceDictionary color key for a given __VSSYSCOLOREX identifier. |
![]() ![]() | GetCurrentThemedColorValues() | Gets all of the current color values in a single Dictionary. This is useful for scenarios where colors are required outside the Visual Studio process or in an AppDomain other than the primary AppDomain, where all of the colors may need to be copied in bulk. |
![]() ![]() | GetThemedColorRgba(IVsUIShell5^, ThemeResourceKey^) | Gets and unsigned integer VS_RGBA value from the current theme for the given color key. The returned value has the red channel in the low byte and the alpha channel in the high byte. |
![]() ![]() | GetThemedGDIColor(IVsUIShell5^, ThemeResourceKey^) | Gets a Color value from the current theme for the given color key. |
![]() ![]() | GetThemedWPFColor(IVsUIShell5^, ThemeResourceKey^) | Gets a Color value from the current theme for the given color key. |
![]() ![]() | TryGetColorIDFromBaseKey(String^, Int32) | Attempts to get the color ID from the base key. |

