Share via


DpiHelper.SetDeviceTop(Window, Double) Method

Definition

Sets the window's Top coordinate using device units

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

Parameters

window
Window

Window to modify

deviceTop
Double

New top coordinate in device units

Applies to