次の方法で共有


DpiHelper.GetDeviceWidth(Window) Method

Definition

Gets the window's Width in device units

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

Parameters

window
Window

Window to inspect

Returns

Width in device units

Applies to