Share via


AppWindow.Size Property

Definition

Gets the current size of the window in screen coordinates.

public:
 property SizeInt32 Size { SizeInt32 get(); };
SizeInt32 Size();
public SizeInt32 Size { get; }
var sizeInt32 = appWindow.size;
Public ReadOnly Property Size As SizeInt32

Property Value

The current size of the window in screen coordinates.

Remarks

To get the size of only the client area of the window, use the ClientSize property.

Screen coordinates are relative to the upper-left corner of the screen; the coordinates of the upper-left corner are (0,0). For more information, see Window Coordinate System (Win32).

Applies to

See also