Editare

Partajați prin


RangeBase.OnMinimumChanged(Double, Double) Method

Definition

Called when the Minimum property changes.

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

Parameters

oldMinimum
Double

Old value of the Minimum property.

newMinimum
Double

New value of the Minimum property.

Remarks

Subclasses of the RangeBase can use this method to respond when the value property changes instead of overriding the FrameworkPropertyMetadata to provide a new PropertyChangedCallback function. For more information, see Dependency Property Callbacks and Validation.

Applies to