Skip to main content

ScaleLineOptions.Thickness Property

Gets or sets a value that specifies the thickness of the line on a scale.

Namespace: DevExpress.Xpf.Gauges

Assembly: DevExpress.Xpf.Gauges.v24.2.dll

NuGet Package: DevExpress.Wpf.Gauges

Declaration

public int Thickness { get; set; }

Property Value

Type Description
Int32

A Int32 value that is the thickness of the line.

Property Paths

You can access this nested property as listed below:

Object Type Path to Thickness
Scale
.LineOptions .Thickness

Remarks

Use the Thickness property if you need to modify the line’s thickness for Circular and Linear scales. Note that the Scale.ShowLine property should be set to true to display the line on a scale.

The following images illustrate the property behavior for the circular scale.

Thickness = 2 Thickness = 4 Thickness = 6
LineOptions_Thickness_2 LineOptions_Thickness_4 LineOptions_Thickness_6

For more information on a line, refer to the Line (Circular Scale) and Line (Linear Scale) documents.

See Also