Skip to main content

MapHitInfo.MapCustomElement Property

Gets a MapCustomElement which is located under the test point.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.2.dll

Declaration

public MapCustomElement MapCustomElement { get; }

Property Value

Type Description
MapCustomElement

A MapCustomElement object that is the map custom element located under the test point.

Remarks

Use the MapCustomElement property to access the custom element located under the test point (if the MapHitInfo.InMapCustomElement property returns true).

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

See Also