ToolActionEventArgs-Konstruktor (ToolAction, InputEventArgs)

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 InputEventArgs _
)
public ToolActionEventArgs(
    ToolAction toolAction,
    InputEventArgs sourceEvent
)
public:
ToolActionEventArgs(
    ToolAction toolAction, 
    InputEventArgs^ sourceEvent
)
new : 
        toolAction:ToolAction * 
        sourceEvent:InputEventArgs -> ToolActionEventArgs
public function ToolActionEventArgs(
    toolAction : ToolAction, 
    sourceEvent : InputEventArgs
)

Parameter

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