wpf-devexpress-dot-xpf-dot-charts-dot-linestyle.md
Specifies the line’s thickness.
Namespace : DevExpress.Xpf.Charts
Assembly : DevExpress.Xpf.Charts.v25.2.dll
NuGet Package : DevExpress.Wpf.Charts
public int Thickness { get; set; }
Public Property Thickness As Integer
| Type | Description |
|---|---|
| Int32 |
An integer value which specifies the line’s thickness, in pixels.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the Thickness 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.
wpf-charts-custom-draw-crosshair-cursor/CS/CrosshairCustomDraw/MainWindow.xaml.cs#L22
e.CrosshairLineElement.LineStyle.DashStyle = DashStyles.DashDot;
e.CrosshairLineElement.LineStyle.Thickness = 3;
dashboard-constant-lines/CS/ConstantLineExtension.WPF/ConstantLinesConverter.cs#L43
line.LineStyle.DashStyle = new DashStyle(new double[] { 3, 4 }, 0);
line.LineStyle.Thickness = 2;
if (customConstantLine.IsBound)
line.LineStyle = new LineStyle();
line.LineStyle.Thickness = 2;
line.LineStyle.DashStyle = DashStyles.Dash;
wpf-charts-custom-draw-crosshair-cursor/VB/CrosshairCustomDraw/MainWindow.xaml.vb#L26
e.CrosshairLineElement.LineStyle.DashStyle = DashStyles.DashDot
e.CrosshairLineElement.LineStyle.Thickness = 3
' Specify the back color for crosshair argument label.
line.LineStyle = New LineStyle()
line.LineStyle.Thickness = 2
line.LineStyle.DashStyle = DashStyles.Dash
See Also