Share via


MapCore.OnCenterChanged 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 location of the center of the map changes.

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

Usage

Syntax

'Declaration
Protected Overrides Sub OnCenterChanged ( _
    eventArgs As DependencyPropertyChangedEventArgs _
)
protected override void OnCenterChanged (
    DependencyPropertyChangedEventArgs eventArgs
)
protected:
virtual void OnCenterChanged (
    DependencyPropertyChangedEventArgs eventArgs
) override
protected void OnCenterChanged (
    DependencyPropertyChangedEventArgs eventArgs
)
protected override function OnCenterChanged (
    eventArgs : DependencyPropertyChangedEventArgs
)

Parameters

  • eventArgs
    The event arguments.

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

MapCore Class
MapCore Members
Microsoft.Maps.MapControl.Core Namespace