VsBrushes.GetBrushKey Method

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.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Shared Function GetBrushKey ( _
    vsSysColor As Integer _
) As Object
public static Object GetBrushKey(
    int vsSysColor
)
public:
static Object^ GetBrushKey(
    int vsSysColor
)
static member GetBrushKey : 
        vsSysColor:int -> Object
public static function GetBrushKey(
    vsSysColor : int
) : Object

Parameters

  • vsSysColor
    Type: Int32

    an identifier from the __VSSYSCOLOREX enumeration.

Return Value

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

.NET Framework Security

See Also

Reference

VsBrushes Class

Microsoft.VisualStudio.Shell Namespace