Back to Devexpress

MapHitInfo.MapCustomElement Property

windowsforms-devexpress-dot-xtramap-dot-maphitinfo-b9937a11.md

latest1.7 KB
Original Source

MapHitInfo.MapCustomElement Property

Gets a MapCustomElement which is located under the test point.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
public MapCustomElement MapCustomElement { get; }
vb
Public ReadOnly Property MapCustomElement As MapCustomElement

Property Value

TypeDescription
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

InMapCustomElement

MapHitInfo Class

MapHitInfo Members

DevExpress.XtraMap Namespace