This topic has not yet been rated - Rate this topic

DesignSurface Members

Presents a user interface for designing components.

The DesignSurface type exposes the following members.

  NameDescription
Public method DesignSurface Overloaded. Initializes a new instance of the DesignSurface class.
Top
  NameDescription
Public method BeginLoad Overloaded. Begins the loading process.
Protected method CreateComponent Obsolete. 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.
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 Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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.)
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.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
  NameDescription
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.
Protected property ServiceContainer Gets the service container.
Public property View Gets the view for the root designer.
Top
  NameDescription
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.
Top
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.