Sets the position of the window's top edge on the desktop screen. In device independent pixel.
windowInstance.Top = top
|real or int||top||The position of the window's top edge. In device independent pixel.|
window w = new window();
w.Top = 0.0;
It's a wrapper of the System.Windows.Window.Top property.
The setting value is the logical pixels.
This setter was modified to be able to set either real or int in the Ver 220.127.116.11.
The logical pixels is the device independent pixels (DIP).
How to convert from physical pixels to logical pixels is follows.
Horizontal : physical pixels / DpiScaleFactorX = logical pixels
Vertical : physical pixels / DpiScaleFactorY = logical pixels
Links for reference