AxisScrollBar.LineColor Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the line color of a scrollbar.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public Color LineColor { get; set; }

Property Value

Type: System.Drawing.Color

A Color value that represents the line color of the scrollbar. The default value is Empty.

This property represents the color used for the arrows in up/down and left/right buttons, the symbol inside the reset button, as well as the border of the entire scrollbar.

If the value of this property is Empty, the line color used will be determined by the LineColor property value.

.NET Framework
Available since 4.0
Return to top