DesignSurface.Unloading Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.