OnValueChanged Method

Slider.OnValueChanged Method (Double, Double)

 

Updates the current position of the Slider when the Value property changes.

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

protected override void OnValueChanged(
	double oldValue,
	double newValue
)

Parameters

oldValue
Type: System.Double

The old Value of the Slider.

newValue
Type: System.Double

The new Value of the Slider.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft