Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the WPF ResourceDictionary color key for a given __VSSYSCOLOREX identifier.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Shared Function GetColorKey ( _
vsSysColor As Integer _
) As Object
public static Object GetColorKey(
int vsSysColor
)
public:
static Object^ GetColorKey(
int vsSysColor
)
static member GetColorKey :
vsSysColor:int -> Object
public static function GetColorKey(
vsSysColor : int
) : Object
Parameters
vsSysColor
Type: Int32The Visual Studio system color.
Return Value
Type: Object
The color key.
Remarks
The input is an identifier from the __VSSYSCOLOREX enumeration, which is used with GetVSSysColorEx. The output is a key which can be used to reference the color 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.