-api-id | -api-type |
---|---|
E:Windows.UI.Core.CoreWindow.SizeChanged |
winrt event |
Occurs when the window size is changed.
The SizeChanged event is exposed to XAML apps as the Window.SizeChanged event and to HTML apps as the window.resize event.
This event occurs when the window size changes or when one of the following properties changes:
- ApplicationView.AdjacentToLeftDisplayEdge
- ApplicationView.AdjacentToRightDisplayEdge
- ApplicationView.IsFullScreen
- ApplicationView.IsFullScreenMode
- UIViewSettings.UserInteractionMode You can use this event to listen for changes to the size or position of the current window.