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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Public Shared Function GetBrushKey ( _
vsSysColor As Integer _
) As Object
public static Object GetBrushKey(
int vsSysColor
)
Parameters
- vsSysColor
Type: System.Int32
an identifier from the __VSSYSCOLOREX enumeration.
Return Value
Type: System.Object
A key which can be used to reference the brush in Visual Studio from XAML.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.