ModelEvent.IsEventOfType Method (Type)

Determines whether this event is of the specified type, or implements the interface of the specified type.

Namespace:  Microsoft.Windows.Design.Model
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Overridable Function IsEventOfType ( _
    type As Type _
) As Boolean
public virtual bool IsEventOfType(
    Type type
)
public:
virtual bool IsEventOfType(
    Type^ type
)
abstract IsEventOfType : 
        type:Type -> bool 
override IsEventOfType : 
        type:Type -> bool 
public function IsEventOfType(
    type : Type
) : boolean

Parameters

Return Value

Type: System.Boolean
true if this event is of the type represented by type; otherwise, false.

Exceptions

Exception Condition
ArgumentNullException

type is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

ModelEvent Class

IsEventOfType Overload

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture