コード例 #1
0
        private void RaiseCurrentProfilePropertyChanged()
        {
            ViewModelBundle.UpdateCurrentProfile(CurrentProfile);

            RaisePropertyChanged(nameof(CurrentProfile));

            RaisePropertyChanged(nameof(Settings));
            DeleteProfileCommand.RaiseCanExecuteChanged();
            RenameProfileCommand.RaiseCanExecuteChanged();
        }
コード例 #2
0
 public void CurrentProfilePropertyChanged()
 {
     RaisePropertyChanged("CurrentProfile");
     RaisePropertyChanged("Settings");
     DeleteProfileCommand.RaiseCanExecuteChanged();
     RenameProfileCommand.RaiseCanExecuteChanged();
     RaisePropertyChanged("LowEncryptionEnabled");
     RaisePropertyChanged("MediumEncryptionEnabled");
     RaisePropertyChanged("HighEncryptionEnabled");
     RaisePropertyChanged("ExtendedPermissonsEnabled");
     RaisePropertyChanged("RestrictLowQualityPrintingEnabled");
     RaisePropertyChanged("AllowFillFormsEnabled");
     RaisePropertyChanged("AllowScreenReadersEnabled");
     RaisePropertyChanged("AllowEditingAssemblyEnabled");
 }