19 references to RibbonCommands
System.Windows.Controls.Ribbon (19)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (6)
108
new CommandBinding(
RibbonCommands
.AddToQuickAccessToolBarCommand, AddToQATExecuted, AddToQATCanExecute));
110
new CommandBinding(
RibbonCommands
.MaximizeRibbonCommand, MaximizeRibbonExecuted, MaximizeRibbonCanExecute));
112
new CommandBinding(
RibbonCommands
.MinimizeRibbonCommand, MinimizeRibbonExecuted, MinimizeRibbonCanExecute));
114
new CommandBinding(
RibbonCommands
.RemoveFromQuickAccessToolBarCommand, RemoveFromQATExecuted, RemoveFromQATCanExecute));
116
new CommandBinding(
RibbonCommands
.ShowQuickAccessToolBarAboveRibbonCommand, ShowQATAboveExecuted, ShowQATAboveCanExecute));
118
new CommandBinding(
RibbonCommands
.ShowQuickAccessToolBarBelowRibbonCommand, ShowQATBelowExecuted, ShowQATBelowCanExecute));
Microsoft\Windows\Controls\Ribbon\RibbonCommands.cs (6)
25
AddToQuickAccessToolBarCommand = new RoutedUICommand(RibbonContextMenu.AddToQATText, "AddToQuickAccessToolBar", typeof(
RibbonCommands
));
26
RemoveFromQuickAccessToolBarCommand = new RoutedUICommand(RibbonContextMenu.RemoveFromQATText, "RemoveFromQuickAccessToolBar", typeof(
RibbonCommands
));
27
MinimizeRibbonCommand = new RoutedUICommand(RibbonContextMenu.MinimizeTheRibbonText, "MinimizeRibbon", typeof(
RibbonCommands
));
28
MaximizeRibbonCommand = new RoutedUICommand(RibbonContextMenu.MaximizeTheRibbonText, "MaximizeRibbon", typeof(
RibbonCommands
));
29
ShowQuickAccessToolBarAboveRibbonCommand = new RoutedUICommand(RibbonContextMenu.ShowQATAboveText, "ShowQuickAccessToolBarAboveRibbon", typeof(
RibbonCommands
));
30
ShowQuickAccessToolBarBelowRibbonCommand = new RoutedUICommand(RibbonContextMenu.ShowQATBelowText, "ShowQuickAccessToolBarBelowRibbon", typeof(
RibbonCommands
));
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (7)
342
addGalleryToQATItem.Command =
RibbonCommands
.AddToQuickAccessToolBarCommand;
359
addToOrRemoveFromQATItem.Command =
RibbonCommands
.RemoveFromQuickAccessToolBarCommand;
364
addToOrRemoveFromQATItem.Command =
RibbonCommands
.AddToQuickAccessToolBarCommand;
424
return
RibbonCommands
.ShowQuickAccessToolBarAboveRibbonCommand;
435
return
RibbonCommands
.ShowQuickAccessToolBarBelowRibbonCommand;
472
return
RibbonCommands
.MaximizeRibbonCommand;
475
return
RibbonCommands
.MinimizeRibbonCommand;