Skip to main content
A newer version of this page is available. .

MapHitInfo.CustomElement Property

Gets a MapCustomElement which is located under the test point.

Namespace: DevExpress.Xpf.Map

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Map, 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