VsBrushes Class

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.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

声明
Public NotInheritable Class VsBrushes
用法
You do not need to declare an instance of a static class in order to access its members.
public static class VsBrushes
public ref class VsBrushes abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type VsBrushes =  class end
public final class VsBrushes

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Shell.VsBrushes

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

VsBrushes Members

Microsoft.VisualStudio.Shell Namespace