DesignSurface::BeginLoad Method (DesignerLoader^)
.NET Framework (current version)
Begins the loading process with the given designer loader.
Assembly: System.Design (in System.Design.dll)
Parameters
- loader
-
Type:
System.ComponentModel.Design.Serialization::DesignerLoader^
The designer loader to use for loading the designer.
| Exception | Condition |
|---|---|
| ArgumentNullException | loader is null. |
| ObjectDisposedException | The IDesignerHost attached to the DesignSurface has been disposed. |
Designer loading can be asynchronous, so the loading may continue to progress after this call has returned. Attach an event handler to the LoadComplete event to be notified when the design surface has completed loading.
After BeginLoad is called, you can immediately obtain the view for the designer, because designer loaders must provide at least the root component when loading asynchronously.
.NET Framework
Available since 2.0
Available since 2.0
Show: