Share via


ShapeGeometry.DoHitTestSelection Method

Determines whether a point is inside the selection highlight of a shape.

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

Syntax

'Declaration
Public MustOverride Function DoHitTestSelection ( _
    geometryHost As IGeometryHost, _
    hitPoint As PointD, _
    hitTestInfo As DiagramHitTestInfo _
) As Boolean
public abstract bool DoHitTestSelection(
    IGeometryHost geometryHost,
    PointD hitPoint,
    DiagramHitTestInfo hitTestInfo
)
public:
virtual bool DoHitTestSelection(
    IGeometryHost^ geometryHost, 
    PointD hitPoint, 
    DiagramHitTestInfo^ hitTestInfo
) abstract
abstract DoHitTestSelection : 
        geometryHost:IGeometryHost * 
        hitPoint:PointD * 
        hitTestInfo:DiagramHitTestInfo -> bool
public abstract function DoHitTestSelection(
    geometryHost : IGeometryHost, 
    hitPoint : PointD, 
    hitTestInfo : DiagramHitTestInfo
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the point was inside the selection highlight; otherwise, false.

.NET Framework Security

See Also

Reference

ShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace