Freigeben über


MouseActionEventArgs Class

Definition

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
MouseActionEventArgs

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.

Applies to