ModelEvent Class
Represents an event on an item.
Namespace:
Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
The ModelEvent type exposes the following members.
| Name | Description | |
|---|---|---|
|
ModelEvent | When overridden in a derived class, initializes a new instance of the ModelEvent class. |
| Name | Description | |
|---|---|---|
|
EventType | When overridden in a derived class, gets the data type of the delegate for this event. |
|
Handlers | When overridden in a derived class, gets a collection of method names that should handle this event. |
|
IsBrowsable | When overridden in a derived class, gets whether the event can be shown in a property window. |
|
Name | When overridden in a derived class, gets the name of this event. |
|
Parent | When overridden in a derived class, gets the parent of this event. |
| Name | Description | |
|---|---|---|
|
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.) |
|
GetAttributes(Type) | Returns the attributes of the specified type that are declared on this event and the event's handler type. |
|
GetAttributes(TypeIdentifier) | Returns the attributes of the specified type that are declared on this event and the event's handler type. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
IsEventOfType(Type) | Determines whether this event is of the specified type, or implements the interface of the specified type. |
|
IsEventOfType(TypeIdentifier) | Determines whether this event is of the specified type, or implements the interface of the specified type. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
An event may be bound to one or more event handlers. At design time, event handling methods typically do not exist, so the Handlers collection of a ModelEvent is a collection of strings.