Compartilhar via


Construtor ToolActionEventArgs (ToolAction, EventArgs, InputDevice, Int32)

Initializes a new instance of the ToolActionEventArgs class.

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

Sintaxe

'Declaração
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
)

Parâmetros

  • timestamp
    Tipo: System.Int32
    A hora quando a entrada ocorreu.

Exceções

Exceção Condição
ArgumentNullException

sourceEvent is nulluma referência nula (Nothing no Visual Basic).

Segurança do .NET Framework

Consulte também

Referência

ToolActionEventArgs Classe

Sobrecargas ToolActionEventArgs

Namespace Microsoft.Windows.Design.Interaction

Outros recursos

Extensibilidade do WPF Designer

Ferramenta de Arquitetura