Freigeben über


ToolActionEventArgs-Konstruktor (ToolAction, EventArgs, InputDevice, Int32)

Initialisiert eine neue Instanz der ToolActionEventArgs-Klasse.

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

Syntax

'Declaration
Public Sub New ( _
    toolAction As ToolAction, _
    sourceEvent As EventArgs, _
    inputDevice As InputDevice, _
    timestamp As Integer _
)
public ToolActionEventArgs(
    ToolAction toolAction,
    EventArgs sourceEvent,
    InputDevice inputDevice,
    int timestamp
)
public:
ToolActionEventArgs(
    ToolAction toolAction, 
    EventArgs^ sourceEvent, 
    InputDevice^ inputDevice, 
    int timestamp
)
new : 
        toolAction:ToolAction * 
        sourceEvent:EventArgs * 
        inputDevice:InputDevice * 
        timestamp:int -> ToolActionEventArgs
public function ToolActionEventArgs(
    toolAction : ToolAction, 
    sourceEvent : EventArgs, 
    inputDevice : InputDevice, 
    timestamp : int
)

Parameter

  • sourceEvent
    Typ: System.EventArgs
    Das Ereignis, das diese Aktion ausgelöst hat.

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

sourceEvent hat den Wert nullNULL-Verweis (Nothing in Visual Basic).

.NET Framework-Sicherheit

Siehe auch

Referenz

ToolActionEventArgs Klasse

ToolActionEventArgs-Überladung

Microsoft.Windows.Design.Interaction-Namespace

Weitere Ressourcen

WPF-Designer-Erweiterbarkeit

Toolarchitektur