This documentation is archived and is not being maintained.

DesignSurface.Loaded Event

Occurs when the designer load has completed.

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

'Declaration
Public Event Loaded As LoadedEventHandler
'Usage
Dim instance As DesignSurface 
Dim handler As LoadedEventHandler 

AddHandler instance.Loaded, handler

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.

NoteNote:

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

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Show: