Slider.OnMinimumChanged(Double, Double) Method

Definition

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

C#
protected override void OnMinimumChanged(double oldMinimum, double newMinimum);

Parameters

oldMinimum
Double

The old value of the Minimum property.

newMinimum
Double

The new value of the Minimum property.

Remarks

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.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10