Skip to main content

MapHitInfo.InMapPolygon Property

Gets a value indicating whether the test point is within a MapPolygon.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v23.1.dll

NuGet Package: DevExpress.Wpf.Map


public bool InMapPolygon { get; }

Property Value

Type Description

true if the test point is within a polygon; otherwise, false.


Use the InMapPolygon property, to check whether the test point is located within a polygon.

To obtain a particular element located under the test point, use the MapControl.CalcHitInfo method.

See Also