Skip to main content

MapHitInfo.CustomElement Property

Gets a MapCustomElement which is located under the test point.

Namespace: DevExpress.Xpf.Map

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

NuGet Package: DevExpress.Wpf.Map

Declaration

public MapCustomElement CustomElement { get; }

Property Value

Type Description
MapCustomElement

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

Remarks

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

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

See Also