Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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