This documentation is archived and is not being maintained.

DesignSurface Members

Presents a user interface for designing components.

The following tables list the members exposed by the DesignSurface type.

  Name Description
Public method DesignSurface Overloaded. Initializes a new instance of the DesignSurface class.

(see also Protected Properties )
  Name Description
Public property ComponentContainer Gets the IContainer implementation within the design surface.
Public property IsLoaded Gets a value indicating whether the design surface is currently loaded.
Public property LoadErrors Returns a collection of loading errors or a void collection.
Public property View Gets the view for the root designer.

  Name Description
Protected property ServiceContainer Gets the service container.

(see also Protected Methods )
  Name Description
Public method BeginLoad Overloaded. Begins the loading process.
Public method CreateNestedContainer Overloaded. Creates a container suitable for nesting controls or components.
Public method Dispose Overloaded. Releases the resources used by the DesignSurface.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Flush Serializes changes to the design surface.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetService Gets a service from the service container.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)

  Name Description
Protected method CreateComponent Creates an instance of a component.
Protected method CreateDesigner Creates a designer when a component is added to the container.
Protected method CreateInstance Creates an instance of the given type.
Protected method Dispose Overloaded. Releases the resources used by the DesignSurface.
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Protected method OnLoaded Raises the Loaded event.
Protected method OnLoading Raises the Loading event.
Protected method OnUnloaded Raises the Unloaded event.
Protected method OnUnloading Raises the Unloading event.
Protected method OnViewActivate Raises the ViewActivated event.

  Name Description
Public event Disposed Occurs when the design surface is disposed.
Public event Flushed Occurs when a call is made to the Flush method of DesignSurface.
Public event Loaded Occurs when the designer load has completed.
Public event Loading Occurs when the designer is about to be loaded.
Public event Unloaded Occurs when a designer has finished unloading.
Public event Unloading Occurs when a designer is about to unload.
Public event ViewActivated Occurs when the Activate method has been called on IDesignerHost.