public RuleManagerView(string documentGuid) { InitializeComponent(); RuleManagerViewModel = new RuleManagerViewModel(documentGuid); DataContext = RuleManagerViewModel; // Gives us the ability to close the window with the Esc kay PreviewKeyDown += (s, e) => { if (e.Key == Key.Escape) { Close(); } }; RegularApp.DialogShowing = true; }
public MoveRuleUpCommand(RuleManagerViewModel ruleManagerViewModel) { this.ruleManagerViewModel = ruleManagerViewModel; }
public DuplicateRuleCommand(RuleManagerViewModel ruleManagerViewModel) { this.ruleManagerViewModel = ruleManagerViewModel; }
public ExportReportCommand(RuleManagerViewModel ruleManagerViewModel) { this.ruleManagerViewModel = ruleManagerViewModel; }
public EditRuleCommand(RuleManagerViewModel ruleManagerViewModel) { this.ruleManagerViewModel = ruleManagerViewModel; }
public ExecuteRuleCommand(RuleManagerViewModel ruleManagerViewModel) { this.ruleManagerViewModel = ruleManagerViewModel; }