Share via


AppWindow.Resize(SizeInt32) Method

Definition

Resizes the window to the specified size.

public:
 virtual void Resize(SizeInt32 size) = Resize;
void Resize(SizeInt32 const& size);
public void Resize(SizeInt32 size);
function resize(size)
Public Sub Resize (size As SizeInt32)

Parameters

size
SizeInt32

The height and width of the window in screen coordinates.

Remarks

After the window size has changed a Changed event will occur.

Call ResizeClient to resize the window when you know the size of the client area you need.

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