Back to Devexpress

Scale.ShowLine Property

wpf-devexpress-dot-xpf-dot-gauges-dot-scale-05f9dc06.md

latest2.5 KB
Original Source

Scale.ShowLine Property

Indicates whether a line should be displayed on a scale.

Namespace : DevExpress.Xpf.Gauges

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

NuGet Package : DevExpress.Wpf.Gauges

Declaration

csharp
public DefaultBoolean ShowLine { get; set; }
vb
Public Property ShowLine As DefaultBoolean

Property Value

TypeDescription
DefaultBoolean

A DefaultBoolean enumeration value that specifies a line’s visibility on a scale.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Remarks

Set the ShowLine property value to either DefaultBoolean.True or DefaultBoolean.False to control the visibility of a line on a Circular or Linear scale.

Note that by default, the ShowLine property is set to DefaultBoolean.Default. This means that line visibility is defined by the current model of a gauge control, set by the CircularGaugeControl.Model or LinearGaugeControl.Model properties.

The table below illustrates the properties behavior.

ShowLine = TrueShowLine = False

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

See Also

Scale Class

Scale Members

DevExpress.Xpf.Gauges Namespace