EventTriggerBase.OnEvent Method
Called when the event associated with this EventTriggerBase is fired. By default, this will invoke all actions on the trigger.
Namespace: System.Windows.Interactivity
Assembly: System.Windows.Interactivity (in system.windows.interactivity.dll)
Syntax
'Declaration
Protected Overridable Sub OnEvent ( _
eventArgs As EventArgs _
)
'Usage
Dim eventArgs As EventArgs
Me.OnEvent(eventArgs)
protected virtual void OnEvent (
EventArgs eventArgs
)
protected:
virtual void OnEvent (
EventArgs^ eventArgs
)
protected void OnEvent (
EventArgs eventArgs
)
protected function OnEvent (
eventArgs : EventArgs
)
Parameters
eventArgs
The EventArgs instance containing the event data.
Remarks
Override this to provide more granular control over when actions associated with this trigger will be invoked.
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
EventTriggerBase Class
EventTriggerBase Members
System.Windows.Interactivity Namespace