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
- toolAction
Typ: Microsoft.Windows.Design.Interaction.ToolAction
Die diesem Ereignis zugeordnete Toolaktion.
- sourceEvent
Typ: System.EventArgs
Das Ereignis, das diese Aktion ausgelöst hat.
- inputDevice
Typ: System.Windows.Input.InputDevice
Das Eingabegerät, das diesem Ereignis zugeordnet werden soll.
- timestamp
Typ: System.Int32
Die Zeit der Eingabe.
Ausnahmen
Ausnahme | Bedingung |
---|---|
ArgumentNullException | sourceEvent hat den Wert nullNULL-Verweis (Nothing in Visual Basic). |
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.
Siehe auch
Referenz
ToolActionEventArgs-Überladung
Microsoft.Windows.Design.Interaction-Namespace