編輯

共用方式為


Slider.OnValueChanged(Double, Double) Method

Definition

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

protected:
 override void OnValueChanged(double oldValue, double newValue);
protected override void OnValueChanged (double oldValue, double newValue);
override this.OnValueChanged : double * double -> unit
Protected Overrides Sub OnValueChanged (oldValue As Double, newValue As Double)

Parameters

oldValue
Double

The old Value of the Slider.

newValue
Double

The new Value of the Slider.

Applies to