MapHitInfo.MapPolygon Property

Gets a MapPolygon which is located under the test point.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v20.1.dll

Declaration

public MapPolygon MapPolygon { get; }
Public ReadOnly Property MapPolygon As MapPolygon

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