VsBrushes::GetBrushKey Method (Int32)

 

Gets the WPF ResourceDictionary brush key for a given __VSSYSCOLOREX identifier. The input is. The output is

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

public:
static Object^ GetBrushKey(
	int vsSysColor
)

Parameters

vsSysColor
Type: System::Int32

an identifier from the __VSSYSCOLOREX enumeration.

Return Value

Type: System::Object^

A key which can be used to reference the brush in Visual Studio from XAML.

Return to top
Show: