AxisScrollBar.Size Property

.NET Framework (current version)
 
System_CAPS_noteNote

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

Gets or sets the width of a scrollbar, in pixels.

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

[BindableAttribute(true)]
public double Size { get; set; }

Property Value

Type: System.Double

The width of a scrollbar in pixels. The default value is 14 pixels. The value can range from 5 to 20 pixels.

Gets or sets the width of a scrollbar, which can be from 5 to 20 pixels.

Set this property to zero to disable a scrollbar.

System_CAPS_importantImportant

To fix the position of scrollbars, the plotting area position of a chart area must not be set to Auto. To explicitly set the plotting area position, use the InnerPlotPosition property.

.NET Framework
Available since 4.0
Return to top
Show: