DefaultEventAttribute Constructor

Initializes a new instance of the DefaultEventAttribute class.

Namespace:  Microsoft.Xaml.Interactivity
Assembly:  Microsoft.Xaml.Interactivity (in Microsoft.Xaml.Interactivity.dll)

Syntax

'Declaration
Public Sub New ( _
    targetType As Type, _
    eventName As String _
)
public DefaultEventAttribute(
    Type targetType,
    string eventName
)
public:
DefaultEventAttribute(
    Type^ targetType, 
    String^ eventName
)
new : 
        targetType:Type * 
        eventName:string -> DefaultEventAttribute
public function DefaultEventAttribute(
    targetType : Type, 
    eventName : String
)

Parameters

  • targetType
    Type: System.Type

    The type this attribute applies to.

  • eventName
    Type: System.String

    The event name for the EventTriggerBehavior.

.NET Framework Security

See Also

Reference

DefaultEventAttribute Class

Microsoft.Xaml.Interactivity Namespace