private void ShowSettingsExecute(object parameter) { SettingsViewModel viewModel = new SettingsViewModel(_application); SettingsVisible?.Invoke(this, viewModel); ActiveMatrix?.Reload(); }
private void ToggleElementExpandedExecute(object parameter) { ActiveMatrix.SelectTreeItem(ActiveMatrix.HoveredTreeItem); if ((SelectedProviderTreeItem != null) && (SelectedProviderTreeItem.IsExpandable)) { SelectedProviderTreeItem.IsExpanded = !SelectedProviderTreeItem.IsExpanded; } ActiveMatrix.Reload(); }
private void OnActionPerformed(object sender, EventArgs e) { UndoText = $"Undo {_application.GetUndoActionDescription()}"; RedoText = $"Redo {_application.GetRedoActionDescription()}"; ActiveMatrix?.Reload(); }