C# Класс Microsoft.VSTalk.Integration.ThemeManager

A helper class for managing the active theme.
Наследование: IThemeManager
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
ApplyThemeToElement void
AutoDetectTheme ThemeMode
GetColorFromUInt System.Windows.Media.Color
GetInstance ThemeManager
ResolveActiveTheme ThemeMode
ThemeManager System.ComponentModel

Открытые методы

Метод Описание
ApplyTheme ( ) : void

Applies the appropriate theme based on current settings.

Init ( ) : void

Приватные методы

Метод Описание
ApplyThemeToElement ( System.Windows.ResourceDictionary element, ThemeMode theme ) : void

Applies the specified theme to the specified element.

AutoDetectTheme ( ) : ThemeMode

Auto-detects which theme should be active based on the current IDE settings.

GetColorFromUInt ( uint number ) : Color

A simple converter for turning a uint into a Color.

GetInstance ( VSTalkPackage package ) : ThemeManager

Gets an instance of the ThemeManager class.

ResolveActiveTheme ( ) : ThemeMode

Resolves which theme should currently be active based on settings.

ThemeManager ( VSTalkPackage package ) : System.ComponentModel

Initializes a new instance of the ThemeManager class.

Описание методов

ApplyTheme() публичный Метод

Applies the appropriate theme based on current settings.
public ApplyTheme ( ) : void
Результат void

Init() публичный Метод

public Init ( ) : void
Результат void