DpiHelper.GetDeviceRect(Window) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the window's Rectangle in device units
public:
System::Windows::Rect GetDeviceRect(System::Windows::Window ^ window);
public System.Windows.Rect GetDeviceRect (System.Windows.Window window);
member this.GetDeviceRect : System.Windows.Window -> System.Windows.Rect
Public Function GetDeviceRect (window As Window) As Rect
Parameters
- window
- Window
Window to inspect
Returns
Window rectangle in device units