DiagramMouseEventArgs Class

 

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

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)


public class DiagramMouseEventArgs : DiagramPointEventArgs

NameDescription
System_CAPS_protmethodDiagramMouseEventArgs()

Initializes a new instance of the DiagramMouseEventArgs class.

System_CAPS_pubmethodDiagramMouseEventArgs(MouseEventArgs, DiagramClientView)

Initializes a new instance of the DiagramMouseEventArgs class.

NameDescription
System_CAPS_pubpropertyButton

Gets which mouse button was pressed.

System_CAPS_pubpropertyClicks

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

System_CAPS_pubpropertyDelta

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

System_CAPS_pubpropertyDiagramClientView

Gets the DiagramClientView that the DiagramEventArgs originated from.(Inherited from DiagramEventArgs.)

System_CAPS_pubpropertyDiagramHitTestInfo

Gets the hit-test information corresponding to the mouse position.(Inherited from DiagramPointEventArgs.)

System_CAPS_pubpropertyHandled

Gets or sets a value indicating whether this event has been handled.(Inherited from DiagramEventArgs.)

System_CAPS_pubpropertyHitDiagramItem

Gets the diagram item corresponding to the mouse position.(Inherited from DiagramPointEventArgs.)

System_CAPS_pubpropertyMousePosition

Gets the mouse position in world units relative to the Diagram's top-left corner.(Inherited from DiagramPointEventArgs.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: