Freigeben über


DpiHelper.SetDeviceWidth(Window, Double) Method

Definition

Sets the window's Width using device units

public:
 void SetDeviceWidth(System::Windows::Window ^ % window, double deviceWidth);
public void SetDeviceWidth (ref System.Windows.Window window, double deviceWidth);
member this.SetDeviceWidth : Window * double -> unit
Public Sub SetDeviceWidth (ByRef window As Window, deviceWidth As Double)

Parameters

window
Window

Window to modify

deviceWidth
Double

New width in device units

Applies to