MouseActionEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The event args class for events originating from the MouseAction class.
public ref class MouseActionEventArgs : Microsoft::VisualStudio::Modeling::Diagrams::DiagramEventArgs
public class MouseActionEventArgs : Microsoft.VisualStudio.Modeling.Diagrams.DiagramEventArgs
type MouseActionEventArgs = class
inherit DiagramEventArgs
Public Class MouseActionEventArgs
Inherits DiagramEventArgs
- Inheritance
Constructors
MouseActionEventArgs() |
Initializes an instance of the MouseActionEventArgs class. |
MouseActionEventArgs(DiagramClientView, PointD, PointD, ActionRequest) |
Initializes an instance of the MouseActionEventArgs class. |
Properties
ActionRequest |
Gets or sets the action to take at the end of the MouseAction event. Setting this property allows you to prematurely complete, prematurely cancel, or prolong a mouse action. |
CurrentMousePosition |
Gets the mouse position when the event occurred. The position is in world coordinates relative to the diagram's top-left. |
DiagramClientView |
Gets the DiagramClientView that the DiagramEventArgs originated from. (Inherited from DiagramEventArgs) |
Handled |
Gets or sets a value indicating whether this event has been handled. (Inherited from DiagramEventArgs) |
PreviousMousePosition |
Gets the mouse position prior to the event. The position is in world coordinates relative to the diagram's top-left. |