OnValueChanged Method
Collapse the table of content
Expand the table of content

ProgressBar.OnValueChanged Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Called when value of the Value property changes.

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

protected override void OnValueChanged(
	double oldValue,
	double newValue
)

Parameters

oldValue
Type: System.Double
The previous value.
newValue
Type: System.Double
The new value.

The progress bar updates its appearance when the Value property changes. If the IsIndeterminate property is true, changes to the Value property will be ignored.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft