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

MapHitInfo.MapPolygon Property

Gets a MapPolygon which is located under the test point.

Namespace: DevExpress.Xpf.Map

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

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