DiagramPointEventArgs Class

Definition

Contains event data related to a mouse position.

C++
public ref class DiagramPointEventArgs : Microsoft::VisualStudio::Modeling::Diagrams::DiagramEventArgs
Inheritance
DiagramPointEventArgs
Derived

Constructors

DiagramPointEventArgs()

Initializes a new instance of the DiagramPointEventArgs class.

DiagramPointEventArgs(DiagramPointEventArgs, DiagramClientView)

Initializes a new instance of the DiagramPointEventArgs class.

DiagramPointEventArgs(Int32, Int32, PointRelativeTo, DiagramClientView)

Initializes a new instance of the DiagramPointEventArgs class.

Properties

DiagramClientView

Gets the DiagramClientView that the DiagramEventArgs originated from.

(Inherited from DiagramEventArgs)
DiagramHitTestInfo

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

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.

MousePosition

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

Applies to

Product Versions
Visual Studio SDK 2017, 2019, 2022