C# Class MetroRadiance.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
MetroChromeBehaviorProperty System.Windows.DependencyProperty
WindowChromeProperty System.Windows.DependencyProperty
WindowSettingsProperty System.Windows.DependencyProperty

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 ( MetroRadiance.Core.Dpi dpi ) : void
IsCaptionBarChangedCallback ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
MetroChromeBehaviorChangedCallback ( 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

MetroChromeBehaviorProperty public_oe static_oe property

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

WindowChromeProperty public_oe static_oe property

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

WindowSettingsProperty public_oe static_oe property

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