HwndSource.SizeToContentChanged Event

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: