AppWindow.Resize(SizeInt32) Method
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.
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).