Udostępnij za pośrednictwem


Klasa VSColorTheme

Helper to get colors from the current Visual Studio theme and provide notifications when the theme or colors change.

Hierarchia dziedziczenia

System.Object
  Microsoft.VisualStudio.PlatformUI.VSColorTheme

Przestrzeń nazw:  Microsoft.VisualStudio.PlatformUI
Zestaw:  Microsoft.VisualStudio.Shell.11.0 (w Microsoft.VisualStudio.Shell.11.0.dll)

Składnia

'Deklaracja
Public NotInheritable Class VSColorTheme
public static class VSColorTheme

Typ VSColorTheme uwidacznia następujące elementy członkowskie.

Metody

  Nazwa Opis
Metoda publicznaStatyczny element członkowski GetThemedColor Gets the color of the specified resource key.

Początek

Zdarzenia

  Nazwa Opis
Zdarzenie publiczneStatyczny element członkowski ThemeChanged Raised when Visual Studio theme color changes.

Początek

Bezpieczeństwo wątku

Wszystkie publiczne static (Shared w języku Visual Basic) elementy członkowskie tego typu są bezpieczne dla wątków. Wystąpienia elementów członkowskich nie dają gwarancji bezpieczeństwa wątków.

Zobacz też

Informacje

Przestrzeń nazw Microsoft.VisualStudio.PlatformUI