C# Класс AuraPhotoViewer.ResizeableWindow

This class exists to support proper windows maximizing while the WindowStyle = None needed to support custom chrome/shell. Windows can subclass this class to get the proper maximize beaviour incuding the task bar. This "native" code provides the correct windwo size to the OS taking into account the monitor and the taskbar size.
Наследование: System.Windows.Window
Показать файл Открыть проект

Открытые методы

Метод Описание
ResizeableWindow ( ) : System
SourceInitializedHandler ( object sender, EventArgs e ) : void

Приватные методы

Метод Описание
GetMonitorInfo ( IntPtr hMonitor, MONITORINFO lpmi ) : bool
MonitorFromWindow ( IntPtr handle, int flags ) : IntPtr
WindowProc ( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, bool &handled ) : IntPtr
WmGetMinMaxInfo ( IntPtr hwnd, IntPtr lParam ) : void

Описание методов

ResizeableWindow() публичный Метод

public ResizeableWindow ( ) : System
Результат System

SourceInitializedHandler() публичный Метод

public SourceInitializedHandler ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void