Back to Devexpress

MarkerStyle.Stroke Property

maui-devexpress-dot-maui-dot-charts-dot-markerstyle-b0acac6a.md

latest1.9 KB
Original Source

MarkerStyle.Stroke Property

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

Namespace : DevExpress.Maui.Charts

Assembly : DevExpress.Maui.Charts.dll

NuGet Package : DevExpress.Maui.Charts

Declaration

csharp
public Color Stroke { get; set; }

Property Value

TypeDescription
Color

The point marker stroke color.

|

Remarks

To specify the stroke thickness, use the StrokeThickness property.

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.

xml
<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

MarkerStyle Class

MarkerStyle Members

DevExpress.Maui.Charts Namespace