RangeBase::OnValueChanged Method (Double, Double)
.NET Framework (current version)
Raises the ValueChanged routed event.
Assembly: PresentationFramework (in PresentationFramework.dll)
Parameters
- oldValue
-
Type:
System::Double
Old value of the Value property
- newValue
-
Type:
System::Double
New value of the Value property
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.
The OnValueChanged method raises the ValueChanged event. When overriding OnValueChanged in a derived class, be sure to call the base class’s OnValueChanged method so that registered delegates receive the event.
.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: