Beispiel #1
0
        private void EventHandlerFoo(object sender, EventArgs e)
        {
            PropertyChangedEventArgs eventArgs = (PropertyChangedEventArgs)e;

            if (eventArgs.PropertyName == "Locations")
            {
                MyLocationMap.MoveToRegion(MapSpan.FromCenterAndRadius(new Position(14.654525, 121.052374),
                                                                       Distance.FromMiles(0.5)));
            }

            else if (eventArgs.PropertyName == "SearchEntry")
            {
                MyLocationMap.MoveToRegion(MapSpan.FromCenterAndRadius(new Position(14.654525, 121.052374),
                                                                       Distance.FromMiles(0.5)));
            }
        }
Beispiel #2
0
 private void UpdatePins(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
 {
     MyLocationMap.MoveToRegion(MapSpan.FromCenterAndRadius(new Position(14.654525, 121.052374),
                                                            Distance.FromMiles(0.5)));
 }
Beispiel #3
0
 public void Clickeda(object sender, EventArgs e)
 {
     MyLocationMap.MoveToRegion(MapSpan.FromCenterAndRadius(new Position(14.654525, 121.052374),
                                                            Distance.FromMiles(0.5)));
 }