AppWindow.Position Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the current position of the window in screen coordinates.
public:
property PointInt32 Position { PointInt32 get(); };
PointInt32 Position();
public PointInt32 Position { get; }
var pointInt32 = appWindow.position;
Public ReadOnly Property Position As PointInt32
Property Value
The current position of the window in screen coordinates.
Remarks
Screen coordinates are relative to the upper-left corner of the screen; the coordinates of the upper-left corner are (0,0).