VsBrushes.GetColorID(Object) 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 __VSSYSCOLOREX identifier for a given WPF brush resource key.
public:
static int GetColorID(System::Object ^ vsBrushKey);
public:
static int GetColorID(Platform::Object ^ vsBrushKey);
static int GetColorID(winrt::Windows::Foundation::IInspectable const & vsBrushKey);
public static int GetColorID (object vsBrushKey);
static member GetColorID : obj -> int
Public Shared Function GetColorID (vsBrushKey As Object) As Integer
Parameters
- vsBrushKey
- Object
A key that can be used to reference the color in Visual Studio from XAML.
Returns
An identifier from the __VSSYSCOLOREX enumeration used with GetVSSysColorEx(Int32, UInt32).