HwndSource.AutoResized Event


Occurs when layout causes the HwndSource to automatically resize.

Namespace:   System.Windows.Interop
Assembly:  PresentationCore (in PresentationCore.dll)

member AutoResized : IEvent<AutoResizedEventHandler,

The native behavior of HwndSource is to automatically resize content and the window region based on changes reported through the WPF layout system. The window does not resize if it is currently minimized or if SizeToContent is set to Manual.

.NET Framework
Available since 3.0
Return to top