Skip to main content

MapHitInfo.MapPolygon Property

Gets a MapPolygon which is located under the test point.

Namespace: DevExpress.Xpf.Map

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

NuGet Package: DevExpress.Wpf.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