CenterChanged Event

Map.CenterChanged Event

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Occurs when the Center property of the Map control changes.

Namespace:  Microsoft.Phone.Maps.Controls
Assembly:  Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)

public event EventHandler<MapCenterChangedEventArgs> CenterChanged

For more info, see the Center property.

During initialization of the Map control, the CenterChanged event is raised one time after the initialization. If your app handles the CenterChanged event, make sure that you handle this event correctly when it’s raised after initialization of the control.

Windows Phone OS

Supported in: 8.1, 8.0

© 2017 Microsoft