C# Class Eto.Wpf.Forms.PerMonitorDpiHelper

显示文件 Open project: picoe/Eto Class Usage Examples

Private Properties

Property Type Description
AddHook void
HwndHook System.IntPtr
RemoveHook void
SetScale void
Window_SourceInitialized void

Public Methods

Method Description
PerMonitorDpiHelper ( Window window ) : System

Protected Methods

Method Description
OnScaleChanged ( EventArgs e ) : void

Private Methods

Method Description
AddHook ( ) : void
HwndHook ( IntPtr hwnd, int message, IntPtr wparam, IntPtr lparam, bool &handled ) : IntPtr
RemoveHook ( ) : void
SetScale ( uint dpi ) : void
Window_SourceInitialized ( object sender, EventArgs e ) : void

Method Details

OnScaleChanged() protected method

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

PerMonitorDpiHelper() public method

public PerMonitorDpiHelper ( Window window ) : System
window System.Windows.Window
return System