Back to Devexpress

MapChartItemBase.ItemId Property

wpf-devexpress-dot-xpf-dot-map-dot-mapchartitembase-aabb3e7e.md

latest1.8 KB
Original Source

MapChartItemBase.ItemId Property

Gets or sets ID of the map Chart item.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public object ItemId { get; set; }
vb
Public Property ItemId As Object

Property Value

TypeDescription
Object

A Object

|

Example

This example shows how to manually add bubble charts to a map. To do this, assign the MapItemStorage object to the VectorLayer.Data property. Then, add manually created MapBubble objects to the MapItemStorage.Items collection of the storage.

Note that bubble sizes do not depending on the MapBubble.Value property values.

xaml
<dxm:MapItemStorage>
    <dxm:MapBubble Location="-30,-30" Size="20" 
                   ItemId="A" Value="100"/>
    <dxm:MapBubble Location="30,30" Size="60"
                   ItemId="B" Value="150"/>
</dxm:MapItemStorage>

See Also

MapChartItemBase Class

MapChartItemBase Members

DevExpress.Xpf.Map Namespace