Export (0) Print
Expand All

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

The DiagramMouseEventArgs type exposes the following members.

Protected methodDiagramMouseEventArgs()Initializes a new instance of the DiagramMouseEventArgs class.
Public methodDiagramMouseEventArgs(MouseEventArgs, DiagramClientView)Initializes a new instance of the DiagramMouseEventArgs class.

Public propertyButtonGets which mouse button was pressed.
Public propertyClicksGets the number of times the mouse button was pressed and released.
Public propertyDeltaGets a signed count of the number of detents the mouse wheel has rotated. A detent is one notch of the mouse wheel.
Public propertyDiagramClientViewGets the DiagramClientView that the DiagramEventArgs originated from. (Inherited from DiagramEventArgs.)
Public propertyDiagramHitTestInfoGets the hit-test information corresponding to the mouse position. (Inherited from DiagramPointEventArgs.)
Public propertyHandledGets or sets a value indicating whether this event has been handled. (Inherited from DiagramEventArgs.)
Public propertyHitDiagramItemGets the diagram item corresponding to the mouse position. (Inherited from DiagramPointEventArgs.)
Public propertyMousePositionGets the mouse position in world units relative to the Diagram's top-left corner. (Inherited from DiagramPointEventArgs.)

Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (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.
© 2014 Microsoft