C# Class ClassLibrary.Common.TitleBar

Show file Open project: justijndepover/Soundcloudplus

Public Properties

Property Type Description
BackgroundColorProperty Windows.UI.Xaml.DependencyProperty
ButtonBackgroundColorProperty Windows.UI.Xaml.DependencyProperty
ButtonForegroundColorProperty Windows.UI.Xaml.DependencyProperty
ButtonHoverBackgroundColorProperty Windows.UI.Xaml.DependencyProperty
ButtonHoverForegroundColorProperty Windows.UI.Xaml.DependencyProperty
ForegroundColorProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
GetBackgroundColor ( DependencyObject d ) : Color
GetButtonBackgroundColor ( DependencyObject d ) : Color
GetButtonForegroundColor ( DependencyObject d ) : Color
GetButtonHoverBackgroundColor ( DependencyObject d ) : Color
GetButtonHoverForegroundColor ( DependencyObject d ) : Color
GetForegroundColor ( DependencyObject d ) : Color
SetBackgroundColor ( DependencyObject d, Color value ) : void
SetButtonBackgroundColor ( DependencyObject d, Color value ) : void
SetButtonForegroundColor ( DependencyObject d, Color value ) : void
SetButtonHoverBackgroundColor ( DependencyObject d, Color value ) : void
SetButtonHoverForegroundColor ( DependencyObject d, Color value ) : void
SetForegroundColor ( DependencyObject d, Color value ) : void

Private Methods

Method Description
OnBackgroundColorPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnButtonBackgroundColorPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnButtonForegroundColorPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnButtonHoverBackgroundColorPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnButtonHoverForegroundColorPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnForegroundColorPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Method Details

GetBackgroundColor() public static method

public static GetBackgroundColor ( DependencyObject d ) : Color
d Windows.UI.Xaml.DependencyObject
return Windows.UI.Color

GetButtonBackgroundColor() public static method

public static GetButtonBackgroundColor ( DependencyObject d ) : Color
d Windows.UI.Xaml.DependencyObject
return Windows.UI.Color

GetButtonForegroundColor() public static method

public static GetButtonForegroundColor ( DependencyObject d ) : Color
d Windows.UI.Xaml.DependencyObject
return Windows.UI.Color

GetButtonHoverBackgroundColor() public static method

public static GetButtonHoverBackgroundColor ( DependencyObject d ) : Color
d Windows.UI.Xaml.DependencyObject
return Windows.UI.Color

GetButtonHoverForegroundColor() public static method

public static GetButtonHoverForegroundColor ( DependencyObject d ) : Color
d Windows.UI.Xaml.DependencyObject
return Windows.UI.Color

GetForegroundColor() public static method

public static GetForegroundColor ( DependencyObject d ) : Color
d Windows.UI.Xaml.DependencyObject
return Windows.UI.Color

SetBackgroundColor() public static method

public static SetBackgroundColor ( DependencyObject d, Color value ) : void
d Windows.UI.Xaml.DependencyObject
value Windows.UI.Color
return void

SetButtonBackgroundColor() public static method

public static SetButtonBackgroundColor ( DependencyObject d, Color value ) : void
d Windows.UI.Xaml.DependencyObject
value Windows.UI.Color
return void

SetButtonForegroundColor() public static method

public static SetButtonForegroundColor ( DependencyObject d, Color value ) : void
d Windows.UI.Xaml.DependencyObject
value Windows.UI.Color
return void

SetButtonHoverBackgroundColor() public static method

public static SetButtonHoverBackgroundColor ( DependencyObject d, Color value ) : void
d Windows.UI.Xaml.DependencyObject
value Windows.UI.Color
return void

SetButtonHoverForegroundColor() public static method

public static SetButtonHoverForegroundColor ( DependencyObject d, Color value ) : void
d Windows.UI.Xaml.DependencyObject
value Windows.UI.Color
return void

SetForegroundColor() public static method

public static SetForegroundColor ( DependencyObject d, Color value ) : void
d Windows.UI.Xaml.DependencyObject
value Windows.UI.Color
return void

Property Details

BackgroundColorProperty public static property

public static DependencyProperty,Windows.UI.Xaml BackgroundColorProperty
return Windows.UI.Xaml.DependencyProperty

ButtonBackgroundColorProperty public static property

public static DependencyProperty,Windows.UI.Xaml ButtonBackgroundColorProperty
return Windows.UI.Xaml.DependencyProperty

ButtonForegroundColorProperty public static property

public static DependencyProperty,Windows.UI.Xaml ButtonForegroundColorProperty
return Windows.UI.Xaml.DependencyProperty

ButtonHoverBackgroundColorProperty public static property

public static DependencyProperty,Windows.UI.Xaml ButtonHoverBackgroundColorProperty
return Windows.UI.Xaml.DependencyProperty

ButtonHoverForegroundColorProperty public static property

public static DependencyProperty,Windows.UI.Xaml ButtonHoverForegroundColorProperty
return Windows.UI.Xaml.DependencyProperty

ForegroundColorProperty public static property

public static DependencyProperty,Windows.UI.Xaml ForegroundColorProperty
return Windows.UI.Xaml.DependencyProperty