A newer version of this page is available. Switch to the current version.

MapHitInfo.InMapPolygon Property

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

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v18.2.dll


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