AxisScrollBar.BackColor 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 background color of a scrollbar.

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

public Color BackColor { get; set; }

Property Value

Type: System.Drawing.Color

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

This property can be set to any valid ARGB (alpha, red, green, blue) color.

If the value of this property is Empty, the background color of the scrollbar will be determined by the BackColor property value of the chart area the scrollbar is being used for.

.NET Framework
Available since 4.0
Return to top