MarkerStyle.Fill Property
In This Article
Gets or sets the fill color of point markers.
Namespace: DevExpress.XamarinForms.Charts
Assembly: DevExpress.XamarinForms.Charts.dll
NuGet Package: DevExpress.XamarinForms.Charts
#Declaration
C#
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.
- Assign the PointSeriesStyle object to the PointSeries.Style property.
- Set the PointSeriesStyle.MarkerStyle to the MarkerStyle object and use this object’s properties to specify the appearance settings of point markers.
<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