VsBrushes.GetBrushKey(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.