Méthode | Description | |
---|---|---|
ChangeAccent ( Accent accent ) : void | ||
ChangeTheme ( Theme theme ) : void | ||
Register ( |
テーマ機能を有効化します。テーマまたはアクセントが変更されたとき、app で指定した WPF アプリケーション内のテーマ関連リソースは自動的に書き換えられます。
|
|
Register ( System.Windows.ResourceDictionary rd ) : IDisposable |
テーマまたはアクセントが変更されたときにリソースの書き換え対象とする ResourceDictionary を登録します。このメソッドは、登録解除に使用する IDisposable オブジェクトを返します。
|
Méthode | Description | |
---|---|---|
RaisePropertyChanged ( [ propertyName = null ) : void |
Méthode | Description | |
---|---|---|
ChangeAccentCore ( Accent accent ) : void | ||
ChangeAccentCore ( Color color ) : void | ||
ChangeAccentCore ( System.Windows.ResourceDictionary dic ) : void | ||
ChangeThemeCore ( System.Platform theme ) : void | ||
ChangeThemeCore ( Theme theme ) : void | ||
CheckAccentResourceUri ( |
指定した Uri がアクセント カラーのリソースを指す URI かどうかをチェックします。
|
|
CheckThemeResourceUri ( |
指定した Uri がテーマのリソースを指す URI かどうかをチェックします。
|
|
CreateAccentResourceUri ( Accent accent ) : |
||
CreateThemeResourceUri ( Theme theme ) : |
||
EnumerateDictionaries ( System.Windows.ResourceDictionary dictionary ) : IEnumerable |
||
GetAccentResource ( Accent accent ) : System.Windows.ResourceDictionary | ||
GetAccentResource ( Color color ) : System.Windows.ResourceDictionary | ||
GetThemeResource ( Theme theme ) : System.Windows.ResourceDictionary | ||
Initialize ( |
||
InvokeOnUIDispatcher ( System.Action action, DispatcherPriority priority = DispatcherPriority.Normal ) : void | ||
Register ( System.Windows.ResourceDictionary rd, Theme theme, Accent accent ) : IDisposable | ||
ThemeService ( ) : System | ||
UpdateListener ( Accent accent ) : void | ||
UpdateListener ( Theme theme ) : void |
public ChangeAccent ( Accent accent ) : void | ||
accent | Accent | |
Résultat | void |
protected RaisePropertyChanged ( [ propertyName = null ) : void | ||
propertyName | [ | |
Résultat | void |
public Register ( |
||
app | テーマ関連リソースを含む WPF アプリケーション。 | |
theme | Theme | 初期値として使用するテーマ。 |
accent | Accent | 初期値として使用するアクセント。 |
Résultat | IDisposable |
public Register ( System.Windows.ResourceDictionary rd ) : IDisposable | ||
rd | System.Windows.ResourceDictionary | |
Résultat | IDisposable |