MapBubbleSettings.MarkerType Property

Gets or sets a value specifying the appearance of a bubble marker.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v20.1.dll

Declaration

public MarkerType MarkerType { get; set; }
Public Property MarkerType As MarkerType

Property Value

Type Description
MarkerType

A MarkerType enumeration value.

Property Paths

You can access this nested property as listed below:

Object Type Path to MarkerType
BubbleChartDataAdapter
.BubbleSettings.MarkerType

Examples

This example shows how to specify a custom marker template to be used by automatically generated bubble chart items.

To do this, create a MapBubbleSettings object and assign it to the BubbleChartDataAdapter.BubbleSettings property of the BubbleChartDataAdapter. Then, specify the MapBubbleSettings.CustomMarkerTemplate property of the object. Note that the MapBubbleSettings.MarkerType property should be set to Custom.

<dxm:BubbleChartDataAdapter.BubbleSettings>
    <dxm:MapBubbleSettings MarkerType="Custom">
        <dxm:MapBubbleSettings.CustomMarkerTemplate>
            <DataTemplate>
                <Rectangle Fill="{Binding Fill}" 
                         Stroke="{Binding Stroke}"/>
            </DataTemplate>
        </dxm:MapBubbleSettings.CustomMarkerTemplate>
    </dxm:MapBubbleSettings>
</dxm:BubbleChartDataAdapter.BubbleSettings>
See Also