C# Class Statman.Util.ThemeManager

Inheritance: System.Windows.DependencyObject
Show file Open project: OrfeasZ/Statman

Public Properties

Property Type Description
CurrentThemeProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetCurrentTheme ( DependencyObject p_DependencyObject ) : Uri
SetCurrentTheme ( DependencyObject p_DependencyObject, Uri p_Value ) : void

Private Methods

Method Description
ApplyTheme ( FrameworkElement p_TargetElement, Uri p_DictionaryUri ) : void
CurrentThemeChanged ( DependencyObject p_DependencyObject, System.Windows.DependencyPropertyChangedEventArgs p_Args ) : void

Method Details

GetCurrentTheme() public static method

public static GetCurrentTheme ( DependencyObject p_DependencyObject ) : Uri
p_DependencyObject System.Windows.DependencyObject
return System.Uri

SetCurrentTheme() public static method

public static SetCurrentTheme ( DependencyObject p_DependencyObject, Uri p_Value ) : void
p_DependencyObject System.Windows.DependencyObject
p_Value System.Uri
return void

Property Details

CurrentThemeProperty public static property

public static DependencyProperty,System.Windows CurrentThemeProperty
return System.Windows.DependencyProperty