wpf-devexpress-dot-xpf-dot-map-dot-mapdataadapterbase.md
Returns map items which are displayed by a map control.
Namespace : DevExpress.Xpf.Map
Assembly : DevExpress.Xpf.Map.v25.2.dll
NuGet Package : DevExpress.Wpf.Map
[Browsable(false)]
public IEnumerable<MapItem> DisplayItems { get; }
<Browsable(False)>
Public ReadOnly Property DisplayItems As IEnumerable(Of MapItem)
| Type | Description |
|---|---|
| IEnumerable<MapItem> |
A set of MapItem class descendant objects.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DisplayItems property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
var hi = mapControl.CalcHitInfo(e.GetPosition(mapControl));
foreach (var item in vectorLayer.Data.DisplayItems) {
if (IsPointInsideItem(item, point))
See Also