C# Class Intense.UI.WindowChrome

Describes customizations to the non-client area of the current window.
Inheritance: Windows.UI.Xaml.DependencyObject, IApplicationViewEventSink
Mostra file Open project: firstfloorsoftware/intense Class Usage Examples

Public Properties

Property Type Description
AutoUpdateMarginProperty Windows.UI.Xaml.DependencyProperty
ChromeProperty Windows.UI.Xaml.DependencyProperty
MarginProperty Windows.UI.Xaml.DependencyProperty
StatusBarBackgroundColorProperty Windows.UI.Xaml.DependencyProperty
StatusBarForegroundColorProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
GetChrome ( DependencyObject o ) : WindowChrome

Retrieves the WindowChrome attached to specified dependency object instance.

SetChrome ( DependencyObject o, WindowChrome chrome ) : void

Attaches a WindowChrome to specified dependency object.

Private Methods

Method Description
ApplyMarginToTarget ( ) : void
CalculateMargin ( ) : void
IApplicationViewEventSink ( ApplicationView sender, ApplicationViewConsolidatedEventArgs args ) : void
IApplicationViewEventSink ( ApplicationView sender, object args ) : void
InitializeChrome ( ) : void
OnChromeChanged ( DependencyObject o, DependencyPropertyChangedEventArgs args ) : void
OnMarginChanged ( DependencyObject o, DependencyPropertyChangedEventArgs args ) : void
OnStatusBarBackgroundColorChanged ( DependencyObject o, DependencyPropertyChangedEventArgs args ) : void
OnStatusBarForegroundColorChanged ( DependencyObject o, DependencyPropertyChangedEventArgs args ) : void
SetStatusBarBackground ( ) : void
SetStatusBarForeground ( ) : void
SetTarget ( FrameworkElement target ) : void
TryGetStatusBar ( StatusBar &statusBar ) : bool

Method Details

GetChrome() public static method

Retrieves the WindowChrome attached to specified dependency object instance.
public static GetChrome ( DependencyObject o ) : WindowChrome
o Windows.UI.Xaml.DependencyObject
return WindowChrome

SetChrome() public static method

Attaches a WindowChrome to specified dependency object.
public static SetChrome ( DependencyObject o, WindowChrome chrome ) : void
o Windows.UI.Xaml.DependencyObject
chrome WindowChrome
return void

Property Details

AutoUpdateMarginProperty public_oe static_oe property

Identifies the AutoUpdateMargin dependency property.
public static DependencyProperty,Windows.UI.Xaml AutoUpdateMarginProperty
return Windows.UI.Xaml.DependencyProperty

ChromeProperty public_oe static_oe property

Identifies the Chrome attached property.
public static DependencyProperty,Windows.UI.Xaml ChromeProperty
return Windows.UI.Xaml.DependencyProperty

MarginProperty public_oe static_oe property

Identifies the Margin dependency property.
public static DependencyProperty,Windows.UI.Xaml MarginProperty
return Windows.UI.Xaml.DependencyProperty

StatusBarBackgroundColorProperty public_oe static_oe property

Identifies the StatusBarBackgroundColor dependency property.
public static DependencyProperty,Windows.UI.Xaml StatusBarBackgroundColorProperty
return Windows.UI.Xaml.DependencyProperty

StatusBarForegroundColorProperty public_oe static_oe property

Identifies the StatusBarForegroundColor dependency property.
public static DependencyProperty,Windows.UI.Xaml StatusBarForegroundColorProperty
return Windows.UI.Xaml.DependencyProperty