DpiHelper.GetDeviceRect(Window) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取以设备单位表示的窗口矩形
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
参数
- window
- Window
要检查的窗口
返回
设备单位矩形