共用方式為


DiagramPointEventArgs.HitDiagramItem Property

Gets the diagram item corresponding to the mouse position.

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

Syntax

'宣告
Public ReadOnly Property HitDiagramItem As DiagramItem
    Get
public DiagramItem HitDiagramItem { get; }
public:
property DiagramItem^ HitDiagramItem {
    DiagramItem^ get ();
}
member HitDiagramItem : DiagramItem
function get HitDiagramItem () : DiagramItem

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem

.NET Framework Security

See Also

Reference

DiagramPointEventArgs Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace