C# 클래스 Buddy.UI.Core.Themes.ThemeManager

파일 보기 프로젝트 열기: BosslandGmbH/Buddy.UI

공개 메소드들

메소드 설명
Initialize ( ) : void

Initializes the Theme Manager, reloading themes and accents, and applying custom styling.

LoadResources ( string key, System.Windows.ResourceDictionary resourceDictionary ) : void

Loads the specified resource dictionary using the specified key into the application's current merged dictionaries.

TryGetAccent ( string name ) : Maybe

Gets an accent color with the specified name, if it exists.

TryGetTheme ( string name ) : Maybe

Gets a theme with the specified name, if it exists.

비공개 메소드들

메소드 설명
ReloadAccents ( ) : void
ReloadThemes ( ) : void

메소드 상세

Initialize() 공개 정적인 메소드

Initializes the Theme Manager, reloading themes and accents, and applying custom styling.
public static Initialize ( ) : void
리턴 void

LoadResources() 공개 정적인 메소드

Loads the specified resource dictionary using the specified key into the application's current merged dictionaries.
public static LoadResources ( string key, System.Windows.ResourceDictionary resourceDictionary ) : void
key string The key.
resourceDictionary System.Windows.ResourceDictionary The resource dictionary.
리턴 void

TryGetAccent() 공개 정적인 메소드

Gets an accent color with the specified name, if it exists.
public static TryGetAccent ( string name ) : Maybe
name string The name.
리턴 Maybe

TryGetTheme() 공개 정적인 메소드

Gets a theme with the specified name, if it exists.
public static TryGetTheme ( string name ) : Maybe
name string The name.
리턴 Maybe