Editare

Partajați prin


Slider.OnMinimumChanged(Double, Double) Method

Definition

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

protected:
 override void OnMinimumChanged(double oldMinimum, double newMinimum);
protected override void OnMinimumChanged (double oldMinimum, double newMinimum);
override this.OnMinimumChanged : double * double -> unit
Protected Overrides Sub OnMinimumChanged (oldMinimum As Double, newMinimum As Double)

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