VsBrushes.GetBrushKey(Int32) Method

Definition

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

public:
 static System::Object ^ GetBrushKey(int vsSysColor);
public:
 static Platform::Object ^ GetBrushKey(int vsSysColor);
 static winrt::Windows::Foundation::IInspectable GetBrushKey(int vsSysColor);
public static object GetBrushKey (int vsSysColor);
static member GetBrushKey : int -> obj
Public Shared Function GetBrushKey (vsSysColor As Integer) As Object

Parameters

vsSysColor
Int32

an identifier from the __VSSYSCOLOREX enumeration.

Returns

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

Applies to