Include Protected Members
Include Inherited Members
Class used to map between VSCOLOR identifiers (used by IVsUIShell2.GetVSSysColorEx) and keys used by WPF ResourceDictionaries. The keys provided by this class can be used to reference System.Windows.Media.Brush instances that Visual Studio places in Application.Current.Resources.
The VsBrushes type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() |
GetBrushKey | Gets the WPF ResourceDictionary brush key for a given VSCOLOR identifier. The input is an identifier from the VSCOLOR enumeration used with IVsUIShell2.GetVSSysColorEx. The output is a key which can be used to reference the brush in Visual Studio from XAML. |
![]() ![]() |
GetColorID | Gets the VSCOLOR identifier for a given WPF brush resource key. The input is a key which can be used to reference the color in Visual Studio from XAML. The output is an identifier from the VSCOLOR enumeration used with IVsUIShell2.GetVSSysColorEx. |
Top
Properties
Top