A newer version of this page is available. Switch to the current version.

MapBubble.Group Property

Gets or sets the object which identifies a group to which the current MapBubble belongs.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v19.2.dll

Declaration

[Browsable(false)]
[DefaultValue(null)]
public object Group { get; set; }
<Browsable(False)>
<DefaultValue(Nothing)>
Public Property Group As Object

Property Value

Type Default Description
Object

null

A Object.

Examples

// Create a storage to provide data for the vector layer.
private IMapDataAdapter CreateData() {
    MapItemStorage storage = new MapItemStorage();

    // Add Bubble charts with different values, sizes and 
    // locations to the storage's Items collection.
    storage.Items.Add( new MapBubble() {
        Argument = "A",
        Value = 200,
        Location = new GeoPoint(-45, -60),
        Size = 20,
        Group = 1,
        MarkerType = MarkerType.Diamond
    });
    storage.Items.Add( new MapBubble() {
        Argument = "B",
        Value = 400,
        Location = new GeoPoint(-45, 0),
        Size = 40,
        Group = 2,
        MarkerType = MarkerType.Plus
    });
    storage.Items.Add( new MapBubble() {
        Argument = "C",
        Value = 800,
        Location = new GeoPoint(-45, 60),
        Size = 80,
        Group = 1,
        MarkerType = MarkerType.Cross
    });

    return storage;
}
See Also