VsColors::GetThemedColorRgba Method (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.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
[ExtensionAttribute]
static unsigned int GetThemedColorRgba(
	IVsUIShell5^ vsUIShell,
	ThemeResourceKey^ themeResourceKey
)

Parameters

vsUIShell
Type: Microsoft.VisualStudio.Shell.Interop::IVsUIShell5^

The IVsUIShell5 service, used to get the color's value.

themeResourceKey
Type: Microsoft.VisualStudio.Shell::ThemeResourceKey^

The key for which to find the color.

Return Value

Type: System::UInt32

The current theme's VS_RGBA value of the named color.

Return to top
Show: