private void LocationService_StatusChanged(object sender, LocationServiceStatusChangedEventArgs e) { Status = e.Status.ToString(); }
/// <summary> /// Handles the StatusChanged event of the _locationService control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="LocationServiceStatusChangedEventArgs"/> instance containing the event data.</param> private void LocationService_StatusChanged(object sender, LocationServiceStatusChangedEventArgs e) { Deployment.Current.Dispatcher.BeginInvoke(delegate { Status = e.Status; }); }