ZoomSlider.OnValueChanged Method

This documentation is no longer available on MSDN, however it is available as a CHM download.

Enables the ability to provide custom handling when the Value property of the ZoomSlider control is changed.

Namespace: Microsoft.Maps.MapControl.Navigation
Assembly: Microsoft.Maps.MapControl (in Microsoft.Maps.MapControl.dll)

Usage

Syntax

'Declaration
Protected Overrides Sub OnValueChanged ( _
    oldValue As Double, _
    newValue As Double _
)
protected override void OnValueChanged (
    double oldValue,
    double newValue
)
protected:
virtual void OnValueChanged (
    double oldValue, 
    double newValue
) override
protected void OnValueChanged (
    double oldValue, 
    double newValue
)
protected override function OnValueChanged (
    oldValue : double, 
    newValue : double
)

Parameters

  • oldValue
    The old value of the zoom slider.
  • newValue
    The new value of the zoom slider.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

See Also

Reference

ZoomSlider Class
ZoomSlider Members
Microsoft.Maps.MapControl.Navigation Namespace