Skip to main content

MapBubbleSettings.MarkerType Property

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

Namespace: DevExpress.Xpf.Map

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

NuGet Package: DevExpress.Wpf.Map

Declaration

public MarkerType MarkerType { get; set; }

Property Value

Type Description
MarkerType

A MarkerType enumeration value.

Available values:

Show 13 items
Name Description
Square

A marker is drawn as a square.

MarkerType_Square

Diamond

A marker is drawn as a diamond.

MarkerType_Diamond

Triangle

A marker is drawn as a triangle.

MarkerType_Triangle

InvertedTriangle

A marker is drawn as an inverted triangle.

MarkerType_InvertedTriangle

Circle

A marker is drawn as a circle.

MarkerType_Circle

Plus

A marker is drawn as a plus sign.

MarkerType_Plus

Cross

A marker is drawn as a cross.

MarkerType_Cross

Star5

A marker is drawn as a five pointed star.

MarkerType_Star5

Star6

A marker is drawn as a six pointed star.

MarkerType_Star6

Star8

A marker is drawn as an eight pointed star.

MarkerType_Star8

Pentagon

A marker is drawn as a pentagon.

MarkerType_Pentagon

Hexagon

A marker is drawn as a hexagon.

MarkerType_Hexagon

Custom

The custom marker type.

Property Paths

You can access this nested property as listed below:

Object Type Path to MarkerType
BubbleChartDataAdapter
.BubbleSettings .MarkerType

Example

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