Прочетете на английски Редактиране

Споделяне чрез


Slider.OnMaximumChanged(Double, Double) Method

Definition

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

C#
protected override void OnMaximumChanged(double oldMaximum, double newMaximum);

Parameters

oldMaximum
Double

The old value of the Maximum property.

newMaximum
Double

The new value of the Maximum property.

Remarks

If the new Maximum value is less than the SelectionStart value, this implementation sets the SelectionStart value to the Maximum value. If the new Maximum value is less than the SelectionEnd value, the SelectionEnd value is set to the Maximum value.

Applies to

Продукт Версии
.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