private void AllaVariazioneProprietaMappa(MapPropertyChangedEventArgs args) { try { this.Clear(); this.UpdateCombo(); } catch (Exception ex) { MessageBox.Show(ex.Message, "Errore"); } }
private async void OnMapPropertyChanged(MapPropertyChangedEventArgs obj) { await ResetSurfaceNames(); IsElevationSurfaceValid = ValidateElevationSurface(MapView.Active.Map, SelectedSurfaceName); if (!await IsElevationSurfaceValid && !string.IsNullOrWhiteSpace(SelectedSurfaceName)) { SetErrorTemplate(false); } else { SetErrorTemplate(true); } }
private async void OnMapPropertyChanged(MapPropertyChangedEventArgs obj) { await ResetSurfaceNames(); }
protected virtual void OnPropertyChanged(MapPropertyChangedEventArgs e) { }