ScrollBar.ToString Method ()


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

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns a string that represents the ScrollBar control.

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

public override string ToString()

Return Value

Type: System.String

A string that represents the current ScrollBar.

The ToString method returns a string that includes the type and the values for the MinimumMinimum, and Value properties.

.NET Framework
Available since 1.1
Return to top