Edit

Share via


DesignSurface.Unloading Event

Definition

Occurs when a designer is about to unload.

public:
 event EventHandler ^ Unloading;
public event EventHandler Unloading;
public event EventHandler? Unloading;
member this.Unloading : EventHandler 
Public Custom Event Unloading As EventHandler 
Public Event Unloading As EventHandler 

Event Type

Remarks

When a designer unloads, the entire state for that designer is destroyed, including the designer's view. The view should be unparented at this time.

Applies to