Loaded Event

DesignSurface.Loaded Event


Occurs when the designer load has completed.

Namespace:   System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)

public event LoadedEventHandler Loaded

The Loaded event is raised for successful loads as well as unsuccessful ones. If code in this event handler throws an exception, the designer is unloaded.

The LoadedEventArgs object can be used to determine if loading succeeded, and it can also provide a list of errors that occurred during the load.


Errors can occur for successful loads as well, provided that the serialization system can tolerate errors.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft