DiagramMouseEventArgs Class

Definition

Provides data for the MouseUp, MouseDown, and MouseMove events.

public ref class DiagramMouseEventArgs : Microsoft::VisualStudio::Modeling::Diagrams::DiagramPointEventArgs
public class DiagramMouseEventArgs : Microsoft.VisualStudio.Modeling.Diagrams.DiagramPointEventArgs
type DiagramMouseEventArgs = class
    inherit DiagramPointEventArgs
Public Class DiagramMouseEventArgs
Inherits DiagramPointEventArgs
Inheritance

Constructors

DiagramMouseEventArgs()

Initializes a new instance of the DiagramMouseEventArgs class.

DiagramMouseEventArgs(MouseEventArgs, DiagramClientView)

Initializes a new instance of the DiagramMouseEventArgs class.

Properties

Button

Gets which mouse button was pressed.

Clicks

Gets the number of times the mouse button was pressed and released.

Delta

Gets a signed count of the number of detents the mouse wheel has rotated. A detent is one notch of the mouse wheel.

DiagramClientView

Gets the DiagramClientView that the DiagramEventArgs originated from.

(Inherited from DiagramEventArgs)
DiagramHitTestInfo

Gets the hit-test information corresponding to the mouse position.

(Inherited from DiagramPointEventArgs)
Handled

Gets or sets a value indicating whether this event has been handled.

(Inherited from DiagramEventArgs)
HitDiagramItem

Gets the diagram item corresponding to the mouse position.

(Inherited from DiagramPointEventArgs)
MousePosition

Gets the mouse position in world units relative to the Diagram's top-left corner.

(Inherited from DiagramPointEventArgs)

Applies to