OnMinimumChanged Method

Slider.OnMinimumChanged Method (Double, Double)

 

Responds to a change in the value of the Minimum property.

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

protected override void OnMinimumChanged(
	double oldMinimum,
	double newMinimum
)

Parameters

oldMinimum
Type: System.Double

The old value of the Minimum property.

newMinimum
Type: System.Double

The new value of the Minimum property.

This implementation makes sure that the SelectionStart value is greater than or equal to the new Minimum value. If the SelectionStart value is less than the Minimum value, the SelectionStart value is set to the Minimum value. The SelectionEnd value is also checked to make sure that it is greater than or equal to the SelectionStart value.

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