Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the ToolActionEventArgs class.
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
)
Parameters
- toolAction
Type: Microsoft.Windows.Design.Interaction.ToolAction
The tool action associated with this event.
- sourceEvent
Type: System.Windows.Input.InputEventArgs
The event that caused this action.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | sourceEvent is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace