DesignerEventArgs Class
Provides data for the DesignerCreated and DesignerDisposed events.
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() | DesignerEventArgs(IDesignerHost^) | Initializes a new instance of the DesignerEventArgs class. |
| Name | Description | |
|---|---|---|
![]() | Designer | Gets the host of the document. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | 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.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
The DesignerCreated and DesignerDisposed events are raised when a document is created or disposed of.
The following example demonstrates creating a DesignerEventArgs.
// This example method creates a DesignerEventArgs using the specified designer host. // Typically, this type of event args is created by the IDesignerEventService. DesignerEventArgs^ CreateComponentEventArgs( IDesignerHost^ host ) { DesignerEventArgs^ args = gcnew DesignerEventArgs( host ); // The designer host of the created or disposed document: args.Component return args; }
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


