C# Class MetroRadiance.ThemeService

Inheritance: MetroRadiance.Core.Notificator
Afficher le fichier Open project: Grabacr07/MetroRadiance

Méthodes publiques

Méthode Description
ChangeAccent ( Accent accent ) : void
ChangeAccent ( System.Windows.ResourceDictionary accent ) : void
ChangeTheme ( Theme theme ) : void
Initialize ( Application app, Theme theme, Accent accent ) : void
Initialize ( Application app, Theme theme, System.Windows.ResourceDictionary accent ) : void
Register ( System.Windows.ResourceDictionary rd ) : IDisposable

Méthodes protégées

Méthode Description
RaisePropertyChanged ( [ propertyName = null ) : void

Private Methods

Méthode Description
ChangeAccentCore ( System.Windows.ResourceDictionary dic ) : void
CheckAccentResourceUri ( Uri uri ) : bool

指定した Uri がアクセント カラーのリソースを指す URI かどうかをチェックします。

CheckThemeResourceUri ( Uri uri ) : bool

指定した Uri がテーマのリソースを指す URI かどうかをチェックします。

CreateAccentResourceUri ( Accent accent ) : Uri
CreateThemeResourceUri ( Theme theme ) : Uri
EnumerateDictionaries ( System.Windows.ResourceDictionary dictionary ) : IEnumerable
InitializeCore ( Application app, Theme theme, System.Windows.ResourceDictionary accent ) : void
Register ( System.Windows.ResourceDictionary rd, Theme theme, System.Windows.ResourceDictionary accentDic ) : IDisposable
ThemeService ( ) : System

Method Details

ChangeAccent() public méthode

public ChangeAccent ( Accent accent ) : void
accent Accent
Résultat void

ChangeAccent() public méthode

public ChangeAccent ( System.Windows.ResourceDictionary accent ) : void
accent System.Windows.ResourceDictionary
Résultat void

ChangeTheme() public méthode

public ChangeTheme ( Theme theme ) : void
theme Theme
Résultat void

Initialize() public méthode

public Initialize ( Application app, Theme theme, Accent accent ) : void
app System.Windows.Application
theme Theme
accent Accent
Résultat void

Initialize() public méthode

public Initialize ( Application app, Theme theme, System.Windows.ResourceDictionary accent ) : void
app System.Windows.Application
theme Theme
accent System.Windows.ResourceDictionary
Résultat void

RaisePropertyChanged() protected méthode

protected RaisePropertyChanged ( [ propertyName = null ) : void
propertyName [
Résultat void

Register() public méthode

public Register ( System.Windows.ResourceDictionary rd ) : IDisposable
rd System.Windows.ResourceDictionary
Résultat IDisposable