wpf-devexpress-dot-xpf-dot-charts-dot-constantline-112ceb7b.md
Specifies the constant line‘s style settings.
Namespace : DevExpress.Xpf.Charts
Assembly : DevExpress.Xpf.Charts.v25.2.dll
NuGet Package : DevExpress.Wpf.Charts
public LineStyle LineStyle { get; set; }
Public Property LineStyle As LineStyle
| Type | Description |
|---|---|
| LineStyle |
A LineStyle object that contains line style settings.
|
For more information, refer to Constant Lines.
The following code snippets (auto-collected from DevExpress Examples) contain references to the LineStyle property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
dashboard-constant-lines/CS/ConstantLineExtension.WPF/ConstantLinesConverter.cs#L41
line.Title.Content = customConstantLine.LabelText;
line.LineStyle = new LineStyle();
line.LineStyle.DashStyle = new DashStyle(new double[] { 3, 4 }, 0);
line.Brush = new SolidColorBrush(constantLineColor);
line.LineStyle = new LineStyle();
line.LineStyle.Thickness = 2;
line.Brush = New SolidColorBrush(constantLineColor)
line.LineStyle = New LineStyle()
line.LineStyle.Thickness = 2
See Also