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