C# Class ModernWPF.Internal.LegacyBorderManager

Used for actual processing since Chrome is freezable and don't want to keep states there.
Inheritance: System.Windows.DependencyObject
Show file Open project: soukoku/ModernWPF Class Usage Examples

Public Properties

Property Type Description
ManagerProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetManager ( DependencyObject obj ) : LegacyBorderManager
SetManager ( DependencyObject obj, LegacyBorderManager value ) : void
UpdateChrome ( Chrome chrome ) : void

Private Methods

Method Description
AttachWindow ( Window window ) : void
ClearUndefined ( SetWindowPosOptions input ) : SetWindowPosOptions
DetatchWindow ( ) : void
HandleNcActivate ( IntPtr hwnd, int msg, IntPtr wParam, IntPtr retVal ) : IntPtr
HandleNcCalcSize ( IntPtr hwnd, IntPtr wParam, IntPtr lParam ) : void
HandleNcHitTest ( Point screenPoint ) : NcHitTest
HandleWindowPosChanged ( IntPtr hwnd, IntPtr lParam ) : void
InitReal ( IntPtr hwnd ) : void
ManagerChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SetRegion ( IntPtr hwnd, int width, int height, bool force ) : void
UpdateFrame ( IntPtr handle ) : void
WndProc ( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, bool &handled ) : IntPtr

Handles Win32 window messages for this window.

_contentWindow_Closed ( object sender, EventArgs e ) : void
_contentWindow_ContentRendered ( object sender, EventArgs e ) : void
window_SourceInitialized ( object sender, EventArgs e ) : void

Method Details

GetManager() public static method

public static GetManager ( DependencyObject obj ) : LegacyBorderManager
obj System.Windows.DependencyObject
return LegacyBorderManager

SetManager() public static method

public static SetManager ( DependencyObject obj, LegacyBorderManager value ) : void
obj System.Windows.DependencyObject
value LegacyBorderManager
return void

UpdateChrome() public method

public UpdateChrome ( Chrome chrome ) : void
chrome Chrome
return void

Property Details

ManagerProperty public static property

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