Share via


ToolActionEventArgs Constructor (ToolAction, InputEventArgs)

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

Exceptions

Exception Condition
ArgumentNullException

sourceEvent is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

ToolActionEventArgs Class

ToolActionEventArgs Overload

Microsoft.Windows.Design.Interaction Namespace

Other Resources

WPF Designer Extensibility

Tool Architecture