Example #1
0
 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();
 }
Example #4
0
 protected virtual void OnPropertyChanged(MapPropertyChangedEventArgs e)
 {
 }