DpiHelper.GetDeviceLeft(Window) 方法

定义

获取窗口在设备单位中的左坐标

public:
 double GetDeviceLeft(System::Windows::Window ^ window);
public double GetDeviceLeft (System.Windows.Window window);
member this.GetDeviceLeft : System.Windows.Window -> double
Public Function GetDeviceLeft (window As Window) As Double

参数

window
Window

要检查的窗口

返回

Double

设备单位中的左坐标

适用于