25 references to CommandBindings
PresentationFramework (7)
src\Framework\MS\Internal\AppModel\XappLauncher.cs (2)
116MainWindow.CommandBindings.Add(new CommandBinding(NavigationCommands.BrowseStop, new ExecutedRoutedEventHandler(OnCommandStop))); 117MainWindow.CommandBindings.Add(new CommandBinding(NavigationCommands.Refresh, new ExecutedRoutedEventHandler(OnCommandRefresh)));
src\Framework\System\Windows\Controls\Frame.cs (2)
1404base.CommandBindings.Remove(cb); 1413base.CommandBindings.Add(b);
src\Framework\System\Windows\Documents\RubberbandSelector.cs (2)
97_uiScope.CommandBindings.Add(binding); 120CommandBindingCollection commandBindings = _uiScope.CommandBindings;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
7803bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.UIElement)target).CommandBindings; };
System.Activities.Presentation (18)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (1)
88this.CommandBindings.Add(new CommandBinding(PropertyValueEditorCommands.FinishEditing, OnFinishEditing));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\StringEditor.cs (1)
41this.CommandBindings.Add(new CommandBinding( DesignerView.CommitCommand, OnDesignerViewCommitExecute));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueDialogHost.cs (1)
50dialogRoot.CommandBindings.Add(new CommandBinding(PropertyContainer.OpenDialogWindow, dialogHost.OnOpenDialogWindow, dialogHost.OnCanOpenDialogWindow));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueEditorCommandHandler.cs (2)
42_commandHost.CommandBindings.Add(binding); 55_commandHost.CommandBindings.Remove(binding);
System.Activities.Presentation\System\Activities\Presentation\DialogWindow.cs (1)
49this.CommandBindings.Add(new CommandBinding(ApplicationCommands.Help, new ExecutedRoutedEventHandler(OnHelpExecuted)));
System.Activities.Presentation\System\Activities\Presentation\ErrorReporting.cs (1)
163parentWindow.CommandBindings.Add(copyBinding);
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (2)
311bool containsBinding = this.dataGrid.CommandBindings 318this.dataGrid.CommandBindings.Add(cb);
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (9)
165foreach (CommandBinding binding in this.CommandBindings) 184foreach (CommandBinding binding in this.CommandBindings) 196this.CommandBindings.Clear(); 197this.CommandBindings.AddRange(chordCommandBindings); 198this.CommandBindings.AddRange(basicCommandBindings); 203foreach (CommandBinding binding in this.CommandBindings) 299this.CommandBindings.Add(binding); 305foreach (CommandBinding cb in this.CommandBindings) 319this.CommandBindings.Remove(cb);