Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AppWindow.Size 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 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


Feedback

Was this page helpful?