ToolActionEventArgs Class
Provides data for ToolAction events.
Inheritance Hierarchy
System.Object
System.EventArgs
System.Windows.RoutedEventArgs
System.Windows.Input.InputEventArgs
Microsoft.Windows.Design.Interaction.ToolActionEventArgs
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Class ToolActionEventArgs _
Inherits InputEventArgs
public class ToolActionEventArgs : InputEventArgs
public ref class ToolActionEventArgs : public InputEventArgs
type ToolActionEventArgs =
class
inherit InputEventArgs
end
public class ToolActionEventArgs extends InputEventArgs
The ToolActionEventArgs type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ToolActionEventArgs(ToolAction, InputEventArgs) | Initializes a new instance of the ToolActionEventArgs class. | |
ToolActionEventArgs(ToolAction, EventArgs, InputDevice, Int32) | Initializes a new instance of the ToolActionEventArgs class. |
Top
Properties
Name | Description | |
---|---|---|
Device | Gets the input device that initiated this event. (Inherited from InputEventArgs.) | |
Handled | Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. (Inherited from RoutedEventArgs.) | |
OriginalSource | Gets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class. (Inherited from RoutedEventArgs.) | |
RoutedEvent | Gets or sets the RoutedEvent associated with this RoutedEventArgs instance. (Inherited from RoutedEventArgs.) | |
Source | Gets or sets a reference to the object that raised the event. (Inherited from RoutedEventArgs.) | |
SourceEvent | Gets the input event that caused this tool action event to occur. | |
Timestamp | Gets the time when this event occurred. (Inherited from InputEventArgs.) | |
ToolAction | Gets the tool action associated with this event. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InvokeEventHandler | Invokes event handlers in a type-specific way, which can increase event system efficiency. (Inherited from InputEventArgs.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnSetSource | When overridden in a derived class, provides a notification callback entry point whenever the value of the Source property of an instance changes. (Inherited from RoutedEventArgs.) | |
ToString | Returns a string describing the event for diagnostic purposes. (Overrides Object.ToString().) |
Top
Remarks
The designer view generates this input event when an input event triggers a particular tool action.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace