Sdílet prostřednictvím


ToolActionEventArgs – konstruktor (ToolAction, EventArgs, InputDevice, Int32)

Inicializuje novou instanci ToolActionEventArgs Třída

Obor názvů:  Microsoft.Windows.Design.Interaction
Sestavení:  Microsoft.Windows.Design.Interaction (v Microsoft.Windows.Design.Interaction.dll)

Syntaxe

'Deklarace
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
)

Parametry

Výjimky

Výjimka Podmínka
ArgumentNullException

sourceEventis nullodkaz Null (Nothing v jazyce Visual Basic).

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

ToolActionEventArgs Třída

ToolActionEventArgs – přetížení

Microsoft.Windows.Design.Interaction – obor názvů

Další zdroje

WPF Designer Extensibility

Tool Architecture