C# Class MetroRadiance.UI.Controls.MetroWindow

Inheritance: System.Windows.Window
Exibir arquivo Open project: Grabacr07/MetroRadiance

Public Properties

Property Type Description
DpiScaleTransformProperty System.Windows.DependencyProperty
IsCaptionBarProperty System.Windows.DependencyProperty
IsRestoringWindowPlacementProperty System.Windows.DependencyProperty
MetroChromeProperty System.Windows.DependencyProperty
ShellChromeProperty System.Windows.DependencyProperty
WindowSettingsProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
ChangeDpi void
HandleMetroChromeChanged void
HandleShellChromeChanged void
IsCaptionBarChangedCallback void
MetroWindow System
WndProc System.IntPtr

Public Methods

Method Description
GetIsCaptionBar ( FrameworkElement element ) : bool
OnApplyTemplate ( ) : void
SetIsCaptionBar ( FrameworkElement element, System.Boolean value ) : void

Protected Methods

Method Description
OnActivated ( EventArgs e ) : void
OnClosed ( EventArgs e ) : void
OnClosing ( CancelEventArgs e ) : void
OnDeactivated ( EventArgs e ) : void
OnSourceInitialized ( EventArgs e ) : void

Private Methods

Method Description
ChangeDpi ( Dpi dpi ) : void
HandleMetroChromeChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs args ) : void
HandleShellChromeChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs args ) : void
IsCaptionBarChangedCallback ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
MetroWindow ( ) : System
WndProc ( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, bool &handled ) : IntPtr

Method Details

GetIsCaptionBar() public static method

public static GetIsCaptionBar ( FrameworkElement element ) : bool
element System.Windows.FrameworkElement
return bool

OnActivated() protected method

protected OnActivated ( EventArgs e ) : void
e System.EventArgs
return void

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OnClosed() protected method

protected OnClosed ( EventArgs e ) : void
e System.EventArgs
return void

OnClosing() protected method

protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
return void

OnDeactivated() protected method

protected OnDeactivated ( EventArgs e ) : void
e System.EventArgs
return void

OnSourceInitialized() protected method

protected OnSourceInitialized ( EventArgs e ) : void
e System.EventArgs
return void

SetIsCaptionBar() public static method

public static SetIsCaptionBar ( FrameworkElement element, System.Boolean value ) : void
element System.Windows.FrameworkElement
value System.Boolean
return void

Property Details

DpiScaleTransformProperty public_oe static_oe property

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

IsCaptionBarProperty public_oe static_oe property

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

IsRestoringWindowPlacementProperty public_oe static_oe property

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

MetroChromeProperty public_oe static_oe property

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

ShellChromeProperty public_oe static_oe property

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

WindowSettingsProperty public_oe static_oe property

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