C# 클래스 FirstFloor.ModernUI.Windows.Controls.DpiAwareWindow

A window instance that is capable of per-monitor DPI awareness when supported.
상속: System.Windows.Window
파일 보기 프로젝트 열기: gro-ove/actools 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ActualBottomProperty System.Windows.DependencyProperty
ActualBottomPropertyKey System.Windows.DependencyPropertyKey
ActualLeftProperty System.Windows.DependencyProperty
ActualLeftPropertyKey System.Windows.DependencyPropertyKey
ActualRightProperty System.Windows.DependencyProperty
ActualRightPropertyKey System.Windows.DependencyPropertyKey
ActualTopProperty System.Windows.DependencyProperty
ActualTopPropertyKey System.Windows.DependencyPropertyKey
IsDimmedProperty System.Windows.DependencyProperty
LocationAndSizeKeyProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
BringToFront ( ) : void
Close ( ) : void
OnFatalError ( Exception e ) : void
SetLocationAndSizeKeyAndSave ( string key ) : void
ShowAndWaitAsync ( ) : System.Threading.Tasks.Task
ShowDialog ( ) : bool?
ShowDialogAsync ( ) : Task
ShowDialogWithoutBlocking ( ) : void

보호된 메소드들

메소드 설명
DpiAwareWindow ( ) : System

Initializes a new instance of the DpiAwareWindow class.

OnClosed ( EventArgs e ) : void

Raises the System.Windows.Window.Closed event.

OnDpiChanged ( EventArgs e ) : void

Raises the E:DpiChanged event.

OnInitialized ( EventArgs e ) : void
OnLocationChanged ( EventArgs e ) : void
OnLocationChanged ( object sender, EventArgs e ) : void
OnSizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
OnStateChanged ( object sender, EventArgs e ) : void
RefreshMonitorDpi ( ) : void

Refreshes the current monitor DPI settings and update the window size and layout scale accordingly.

비공개 메소드들

메소드 설명
DimOwner ( ) : void
GetWindowLong ( IntPtr hWnd, int nIndex ) : int
GetWindowRect ( IntPtr hWnd, Win32Rect &lpWindowRect ) : bool
GetWindowRectangle ( ) : Win32Rect
IsFinite ( double value ) : bool
LoadLocationAndSize ( ) : void
OnLocationAndSizeKeyChanged ( ) : void
OnLocationAndSizeKeyChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSourceInitialized ( object sender, EventArgs e ) : void
OnSystemEventsDisplaySettingsChanged ( object sender, EventArgs e ) : void
RescaleIfNeeded ( ) : void
SaveLocationAndSize ( ) : void
SetWindowLong ( IntPtr hWnd, int nIndex, int dwNewLong ) : int
UndimOwner ( ) : void
UpdateActualLocation ( ) : void
UpdateLayoutTransform ( ) : void
UpdateWindowSize ( double width, double height ) : void
WndProc ( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, bool &handled ) : IntPtr

메소드 상세

BringToFront() 공개 메소드

public BringToFront ( ) : void
리턴 void

Close() 공개 메소드

public Close ( ) : void
리턴 void

DpiAwareWindow() 보호된 메소드

Initializes a new instance of the DpiAwareWindow class.
protected DpiAwareWindow ( ) : System
리턴 System

OnClosed() 보호된 메소드

Raises the System.Windows.Window.Closed event.
protected OnClosed ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnDpiChanged() 보호된 메소드

Raises the E:DpiChanged event.
protected OnDpiChanged ( EventArgs e ) : void
e System.EventArgs The instance containing the event data.
리턴 void

OnFatalError() 공개 정적인 메소드

public static OnFatalError ( Exception e ) : void
e System.Exception
리턴 void

OnInitialized() 보호된 메소드

protected OnInitialized ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnLocationChanged() 보호된 메소드

protected OnLocationChanged ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnLocationChanged() 보호된 메소드

protected OnLocationChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

OnSizeChanged() 보호된 메소드

protected OnSizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
sender object
e System.Windows.SizeChangedEventArgs
리턴 void

OnStateChanged() 보호된 메소드

protected OnStateChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

RefreshMonitorDpi() 보호된 메소드

Refreshes the current monitor DPI settings and update the window size and layout scale accordingly.
protected RefreshMonitorDpi ( ) : void
리턴 void

SetLocationAndSizeKeyAndSave() 공개 메소드

public SetLocationAndSizeKeyAndSave ( string key ) : void
key string
리턴 void

ShowAndWaitAsync() 공개 메소드

public ShowAndWaitAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

ShowDialog() 공개 메소드

public ShowDialog ( ) : bool?
리턴 bool?

ShowDialogAsync() 공개 메소드

public ShowDialogAsync ( ) : Task
리턴 Task

ShowDialogWithoutBlocking() 공개 메소드

public ShowDialogWithoutBlocking ( ) : void
리턴 void

프로퍼티 상세

ActualBottomProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows ActualBottomProperty
리턴 System.Windows.DependencyProperty

ActualBottomPropertyKey 공개적으로 정적으로 프로퍼티

public static DependencyPropertyKey,System.Windows ActualBottomPropertyKey
리턴 System.Windows.DependencyPropertyKey

ActualLeftProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows ActualLeftProperty
리턴 System.Windows.DependencyProperty

ActualLeftPropertyKey 공개적으로 정적으로 프로퍼티

public static DependencyPropertyKey,System.Windows ActualLeftPropertyKey
리턴 System.Windows.DependencyPropertyKey

ActualRightProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows ActualRightProperty
리턴 System.Windows.DependencyProperty

ActualRightPropertyKey 공개적으로 정적으로 프로퍼티

public static DependencyPropertyKey,System.Windows ActualRightPropertyKey
리턴 System.Windows.DependencyPropertyKey

ActualTopProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows ActualTopProperty
리턴 System.Windows.DependencyProperty

ActualTopPropertyKey 공개적으로 정적으로 프로퍼티

public static DependencyPropertyKey,System.Windows ActualTopPropertyKey
리턴 System.Windows.DependencyPropertyKey

IsDimmedProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows IsDimmedProperty
리턴 System.Windows.DependencyProperty

LocationAndSizeKeyProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows LocationAndSizeKeyProperty
리턴 System.Windows.DependencyProperty