Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

MarkerStyle.StrokeThickness Property

Gets or sets the point marker stroke thickness. This is a bindable property.

Namespace: DevExpress.Maui.Charts

Assembly: DevExpress.Maui.Charts.dll

NuGet Package: DevExpress.Maui.Charts

#Declaration

C#
public float StrokeThickness { get; set; }

#Property Value

Type Default Description
Single -1

The thickness of a point marker stroke, in scale-independent units.

#Remarks

To specify the stroke color, use the Stroke property.

The resulting stroke thickness can differ on different Android devices. On Android emulators, the stroke thickness is always 1 due to technical limitations.

#Example

This example customizes the color and stroke of point markers for the Point series.

  1. Assign the PointSeriesStyle object to the PointSeries.Style property.
  2. Set the PointSeriesStyle.MarkerStyle to the MarkerStyle object and use this object’s properties to specify the appearance settings of point markers.

Marker Style

<dxc:PointSeries>
    <dxc:PointSeries.Style>
        <dxc:PointSeriesStyle>
            <dxc:PointSeriesStyle.MarkerStyle>
                <dxc:MarkerStyle Fill="LightBlue" Stroke="Blue" StrokeThickness="2"/>
            </dxc:PointSeriesStyle.MarkerStyle>
        </dxc:PointSeriesStyle>
    </dxc:PointSeries.Style>
</dxc:PointSeries>
See Also