HwndSource.SizeToContentChanged Event

 

Occurs when the value of the SizeToContent property changes.

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

public event EventHandler SizeToContentChanged

The SizeToContentChanged event is only raised when user interaction causes the change. If you set SizeToContent in code, the SizeToContentChanged event is not raised.

.NET Framework
Available since 3.0
Return to top
Show: