Window.SizeChanged event

0 out of 1 rated this helpful - Rate this topic

Occurs when the window has rendered or changed its rendering size.

Syntax


public event WindowSizeChangedEventHandler SizeChanged

Event information

Delegate WindowSizeChangedEventHandler

Remarks

This event occurs whenever the height or width of your app window changes size. This also occurs when the user snaps or unsnaps your app, or changes its orientation. To determine which view to present to the window when it changes orientation or snap state, check the ApplicationViewState property in your SizeChanged event handler. For more info, see the OrientationSensor sample.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.Xaml
Windows::UI::Xaml [C++]

Metadata

Windows.winmd

See also

Window
ApplicationViewState
OrientationSensor sample

 

 

Build date: 1/31/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.