Skip to main content

MarkerStyle.Fill Property

Gets or sets the fill color of point markers.

Namespace: DevExpress.XamarinForms.Charts

Assembly: DevExpress.XamarinForms.Charts.dll

NuGet Package: DevExpress.XamarinForms.Charts

Declaration

public Color Fill { get; set; }

Property Value

Type Description
Color

The point marker color.

Remarks

To specify the point marker stroke (color and thickness), use the Stroke and StrokeThickness properties.

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