ModelEvent Class
Represents an event on an item.
Inheritance Hierarchy
System.Object
Microsoft.Windows.Design.Model.ModelEvent
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustInherit Class ModelEvent
public abstract class ModelEvent
public ref class ModelEvent abstract
[<AbstractClass>]
type ModelEvent = class end
public abstract class ModelEvent
The ModelEvent type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ModelEvent | When overridden in a derived class, initializes a new instance of the ModelEvent class. |
Top
Properties
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. |
Top
Methods
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.) |
Top
Remarks
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.Windows.Design.Model Namespace