C# 클래스 MetroRadiance.ThemeService

상속: MetroRadiance.Core.Notificator
파일 보기 프로젝트 열기: Grabacr07/MetroRadiance

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
RaisePropertyChanged ( [ propertyName = null ) : void

비공개 메소드들

메소드 설명
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

메소드 상세

ChangeAccent() 공개 메소드

public ChangeAccent ( Accent accent ) : void
accent Accent
리턴 void

ChangeAccent() 공개 메소드

public ChangeAccent ( System.Windows.ResourceDictionary accent ) : void
accent System.Windows.ResourceDictionary
리턴 void

ChangeTheme() 공개 메소드

public ChangeTheme ( Theme theme ) : void
theme Theme
리턴 void

Initialize() 공개 메소드

public Initialize ( Application app, Theme theme, Accent accent ) : void
app System.Windows.Application
theme Theme
accent Accent
리턴 void

Initialize() 공개 메소드

public Initialize ( Application app, Theme theme, System.Windows.ResourceDictionary accent ) : void
app System.Windows.Application
theme Theme
accent System.Windows.ResourceDictionary
리턴 void

RaisePropertyChanged() 보호된 메소드

protected RaisePropertyChanged ( [ propertyName = null ) : void
propertyName [
리턴 void

Register() 공개 메소드

public Register ( System.Windows.ResourceDictionary rd ) : IDisposable
rd System.Windows.ResourceDictionary
리턴 IDisposable