Back to Devexpress

MiniMapVectorItemsLayer.Data Property

windowsforms-devexpress-dot-xtramap-dot-minimapvectoritemslayer.md

latest2.6 KB
Original Source

MiniMapVectorItemsLayer.Data Property

Gets or sets the data of the MiniMapVectorItemsLayer.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
[DefaultValue(null)]
public IMapDataAdapter Data { get; set; }
vb
<DefaultValue(Nothing)>
Public Property Data As IMapDataAdapter

Property Value

TypeDefaultDescription
IMapDataAdapternull

An object implementing the IMapDataAdapter interface.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Data 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.

winforms-map-customize-mini-map-layers/CS/MiniMapLayers/Form1.cs#L101

csharp
);
vectorLayer.Data = adapter;
vectorLayer.ItemStyle.Fill = Color.FromArgb(74, 212, 255);

winforms-map-customize-mini-map-layers/VB/MiniMapLayers/Form1.vb#L75

vb
adapter.PropertyMappings.Add(New DevExpress.XtraMap.MapDotSizeMapping() With {.DefaultValue = 10})
vectorLayer.Data = adapter
vectorLayer.ItemStyle.Fill = System.Drawing.Color.FromArgb(74, 212, 255)

See Also

MiniMapVectorItemsLayer Class

MiniMapVectorItemsLayer Members

DevExpress.XtraMap Namespace