ToolStripProgressBar::Value Property

 

Gets or sets the current value of the ToolStripProgressBar.

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

public:
[BindableAttribute(true)]
property int Value {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

An integer representing the current value.

The Value property must be in the range specified by the Minimum and Maximum properties.

The following code example demonstrates a use of the Value property in a ToolStripProgressBar that calculates a sequence of Fibonacci numbers. This code example is part of a larger example that provided for the ToolStripProgressBar class.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: