Skip to main content

MapHitInfo.MapPolygon Property

Gets a MapPolygon which is located under the test point.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.1.dll

NuGet Package: DevExpress.Win.Map

Declaration

public MapPolygon MapPolygon { get; }

Property Value

Type Description
MapPolygon

A MapPolygon object that is the polygon located under the test point.

Remarks

Use the MapPolygon property to access the polygon located under the test point (if the MapHitInfo.InMapPolygon property returns true).

If MapHitInfo.InMapPolygon is false, the MapPolygon property returns null (Nothing in Visual Basic).

See Also