Share via


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.10.0 (in Microsoft.VisualStudio.Shell.10.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

Return Value

Type: System.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