Compartilhar via


DpiHelper.GetDeviceRect(Window) Method

Definition

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

Applies to