DesignSurface Members
.NET Framework 3.5
Presents a user interface for designing components.
The DesignSurface type exposes the following members.
| Name | Description | |
|---|---|---|
|
DesignSurface | Overloaded. Initializes a new instance of the DesignSurface class. |
| Name | Description | |
|---|---|---|
|
BeginLoad | Overloaded. Begins the loading process. |
|
CreateComponent | Obsolete. Creates an instance of a component. |
|
CreateDesigner | Creates a designer when a component is added to the container. |
|
CreateInstance | Creates an instance of the given type. |
|
CreateNestedContainer | Overloaded. Creates a container suitable for nesting controls or components. |
|
Dispose | Overloaded. Releases the resources used by the DesignSurface. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
Flush | Serializes changes to the design surface. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetService | Gets a service from the service container. |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
OnLoaded | Raises the Loaded event. |
|
OnLoading | Raises the Loading event. |
|
OnUnloaded | Raises the Unloaded event. |
|
OnUnloading | Raises the Unloading event. |
|
OnViewActivate | Raises the ViewActivated event. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
ComponentContainer | Gets the IContainer implementation within the design surface. |
|
IsLoaded | Gets a value indicating whether the design surface is currently loaded. |
|
LoadErrors | Returns a collection of loading errors or a void collection. |
|
ServiceContainer | Gets the service container. |
|
View | Gets the view for the root designer. |
| Name | Description | |
|---|---|---|
|
Disposed | Occurs when the design surface is disposed. |
|
Flushed | Occurs when a call is made to the Flush method of DesignSurface. |
|
Loaded | Occurs when the designer load has completed. |
|
Loading | Occurs when the designer is about to be loaded. |
|
Unloaded | Occurs when a designer has finished unloading. |
|
Unloading | Occurs when a designer is about to unload. |
|
ViewActivated | Occurs when the Activate method has been called on IDesignerHost. |