共用方式為


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

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