Skip to main content

MarkerStyle.Stroke Property

Gets or sets the point marker stroke color.

Namespace: DevExpress.XamarinForms.Charts

Assembly: DevExpress.XamarinForms.Charts.dll

NuGet Package: DevExpress.XamarinForms.Charts

Declaration

public Color Stroke { get; set; }

Property Value

Type Description
Color

The point marker stroke color.

Remarks

To specify the stroke thickness, use the StrokeThickness property.

Example

This example demonstrates how to customize 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