StrokeStyle.DashArray Property
In This Article
Gets or sets a collection of values that specifies the lengths of alternating dashes and gaps.
Namespace: DevExpress.WinUI.Drawing
Assembly: DevExpress.WinUI.Drawing.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
[DP(null, Handler = "OnDependencyPropertyChanged")]
public DoubleCollection DashArray { get; set; }
#Property Value
Type | Description |
---|---|
Double |
The pattern of dashes and gaps. |
#Remarks
<Charts:CartesianChart.Series>
<Charts:Series ...>
<Charts:Series.View>
<Charts:LineSeriesView ... >
<Charts:LineSeriesView.StrokeStyle>
<drw:StrokeStyle DashArray="10 3"/>
</Charts:LineSeriesView.StrokeStyle>
</Charts:LineSeriesView>
</Charts:Series.View>
<!-- ... -->
</Charts:Series>
</Charts:CartesianChart.Series>
This code snippet is based on the following Get Started topic: Lesson 1 - Create a Cartesian Chart.
See Also