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)

Syntax

Public Event CenterChanged As EventHandler(Of MapCenterChangedEventArgs)
public event EventHandler<MapCenterChangedEventArgs> CenterChanged

Remarks

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.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

Map Class

Microsoft.Phone.Maps.Controls Namespace