.NET Framework 4.6 and 4.5
Occurs when the content window of an Expander control closes and only the Header is visible.
PresentationFramework (in PresentationFramework.dll)
public event RoutedEventHandler Collapsed
The Collapsed event occurs when the IsExpanded property changes from true to false.
The following example shows how to specify the event handler for the Collapsed event.
The following example shows how to define the event handler.
Return to top
Available since 3.0