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.TypeThe type this attribute applies to.
eventName
Type: System.StringThe event name for the EventTriggerBehavior.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.