127 references to NavigationCommands
PresentationCore (12)
System\Windows\Input\Command\CommandDevice.cs (7)
124appCommand = NavigationCommands.BrowseBack; 127appCommand = NavigationCommands.BrowseForward; 130appCommand = NavigationCommands.Refresh; 133appCommand = NavigationCommands.BrowseStop; 136appCommand = NavigationCommands.Search; 139appCommand = NavigationCommands.Favorites; 142appCommand = NavigationCommands.BrowseHome;
System\Windows\Input\Command\NavigationCommands.cs (1)
333typeof(NavigationCommands), (byte)idCommand);
System\Windows\Input\Command\RoutedCommand.cs (2)
249else if(OwnerType == typeof(NavigationCommands)) 251return NavigationCommands.LoadDefaultGestureFromResource(_commandId);
System\Windows\Input\Command\RoutedUICommand.cs (2)
93else if(OwnerType == typeof(NavigationCommands)) 95return NavigationCommands.GetUIText(CommandId);
PresentationFramework (104)
MS\Internal\Documents\DocumentGridContextMenu.cs (4)
157NavigationCommands.PreviousPage, 164NavigationCommands.NextPage, 171NavigationCommands.FirstPage, 178NavigationCommands.LastPage,
System\Windows\Controls\DocumentViewer.cs (23)
1566NavigationCommands.Zoom, 1575NavigationCommands.IncreaseZoom, 1591NavigationCommands.DecreaseZoom, 1605NavigationCommands.PreviousPage, 1612NavigationCommands.NextPage, 1619NavigationCommands.FirstPage, 1626NavigationCommands.LastPage, 1639new InputBinding(NavigationCommands.Zoom, 1701args.Command == NavigationCommands.Zoom) 1739else if (args.Command == NavigationCommands.IncreaseZoom) 1745else if (args.Command == NavigationCommands.DecreaseZoom) 1751else if (args.Command == NavigationCommands.PreviousPage 1752|| args.Command == NavigationCommands.FirstPage) 1758else if (args.Command == NavigationCommands.NextPage 1759|| args.Command == NavigationCommands.LastPage) 1765else if (args.Command == NavigationCommands.GoToPage) 1852else if (args.Command == NavigationCommands.Zoom) 1856else if (args.Command == NavigationCommands.DecreaseZoom) 1860else if (args.Command == NavigationCommands.IncreaseZoom) 1864else if (args.Command == NavigationCommands.PreviousPage) 1868else if (args.Command == NavigationCommands.NextPage) 1872else if (args.Command == NavigationCommands.FirstPage) 1876else if (args.Command == NavigationCommands.LastPage)
System\Windows\Controls\FlowDocumentReader.cs (12)
1336CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.PreviousPage, 1340CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.NextPage, 1344CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.FirstPage, 1348CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.LastPage, 1352CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.IncreaseZoom, 1356CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.DecreaseZoom, 1445else if (args.Command == NavigationCommands.IncreaseZoom) 1449else if (args.Command == NavigationCommands.DecreaseZoom) 1453else if (args.Command == NavigationCommands.PreviousPage) 1457else if (args.Command == NavigationCommands.NextPage) 1461else if (args.Command == NavigationCommands.FirstPage) 1465else if (args.Command == NavigationCommands.LastPage)
System\Windows\Controls\FlowDocumentScrollViewer.cs (12)
1342CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentScrollViewer), NavigationCommands.PreviousPage, 1346CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentScrollViewer), NavigationCommands.NextPage, 1350CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentScrollViewer), NavigationCommands.FirstPage, 1354CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentScrollViewer), NavigationCommands.LastPage, 1358CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentScrollViewer), NavigationCommands.IncreaseZoom, 1362CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentScrollViewer), NavigationCommands.DecreaseZoom, 1450else if (args.Command == NavigationCommands.IncreaseZoom) 1454else if (args.Command == NavigationCommands.DecreaseZoom) 1474else if (args.Command == NavigationCommands.NextPage) 1478else if (args.Command == NavigationCommands.PreviousPage) 1482else if (args.Command == NavigationCommands.FirstPage) 1486else if (args.Command == NavigationCommands.LastPage)
System\Windows\Controls\Frame.cs (5)
1335AddCommandBinding(new CommandBinding(NavigationCommands.BrowseBack, OnGoBack, OnQueryGoBack)); 1336AddCommandBinding(new CommandBinding(NavigationCommands.BrowseForward, OnGoForward, OnQueryGoForward)); 1337AddCommandBinding(new CommandBinding(NavigationCommands.NavigateJournal, OnNavigateJournal)); 1338AddCommandBinding(new CommandBinding(NavigationCommands.Refresh, OnRefresh, OnQueryRefresh)); 1339AddCommandBinding(new CommandBinding(NavigationCommands.BrowseStop, OnBrowseStop));
System\Windows\Controls\Primitives\DocumentViewerBase.cs (10)
1431CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.PreviousPage, 1435CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.NextPage, 1439CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.FirstPage, 1443CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.LastPage, 1447CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.GoToPage, 1506if (args.Command == NavigationCommands.PreviousPage) 1510else if (args.Command == NavigationCommands.NextPage) 1514else if (args.Command == NavigationCommands.FirstPage) 1518else if (args.Command == NavigationCommands.LastPage) 1522else if (args.Command == NavigationCommands.GoToPage)
System\Windows\Controls\SinglePageViewer.cs (14)
1264CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentPageViewer), NavigationCommands.IncreaseZoom, 1268CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentPageViewer), NavigationCommands.DecreaseZoom, 1272CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.PreviousPage, new KeyGesture(Key.Left))); 1273CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.PreviousPage, new KeyGesture(Key.Up))); 1274CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.PreviousPage, new KeyGesture(Key.PageUp))); 1275CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.NextPage, new KeyGesture(Key.Right))); 1276CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.NextPage, new KeyGesture(Key.Down))); 1277CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.NextPage, new KeyGesture(Key.PageDown))); 1278CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.FirstPage, new KeyGesture(Key.Home))); 1279CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.FirstPage, new KeyGesture(Key.Home, ModifierKeys.Control))); 1280CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.LastPage, new KeyGesture(Key.End))); 1281CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.LastPage, new KeyGesture(Key.End, ModifierKeys.Control))); 1322if (args.Command == NavigationCommands.IncreaseZoom) 1326else if (args.Command == NavigationCommands.DecreaseZoom)
System\Windows\Input\Command\CommandConverter.cs (19)
199commandType == typeof(NavigationCommands) || 246if (ownerType == typeof(NavigationCommands) || ((null == knownCommand) && searchAll)) 251knownCommand = NavigationCommands.BrowseBack; 254knownCommand = NavigationCommands.BrowseForward; 257knownCommand = NavigationCommands.BrowseHome; 260knownCommand = NavigationCommands.BrowseStop; 263knownCommand = NavigationCommands.Refresh; 266knownCommand = NavigationCommands.Favorites; 269knownCommand = NavigationCommands.Search; 272knownCommand = NavigationCommands.IncreaseZoom; 275knownCommand = NavigationCommands.DecreaseZoom; 278knownCommand = NavigationCommands.Zoom; 281knownCommand = NavigationCommands.NextPage; 284knownCommand = NavigationCommands.PreviousPage; 287knownCommand = NavigationCommands.FirstPage; 290knownCommand = NavigationCommands.LastPage; 293knownCommand = NavigationCommands.GoToPage; 296knownCommand = NavigationCommands.NavigateJournal; 742VerifyCommandDoesntExist( typeof(NavigationCommands), localName );
System\Windows\Navigation\NavigationWindow.cs (5)
161NavigationCommands.BrowseBack, 168NavigationCommands.BrowseForward, 174new CommandBinding(NavigationCommands.NavigateJournal, new ExecutedRoutedEventHandler(OnNavigateJournal))); 179NavigationCommands.Refresh, 186NavigationCommands.BrowseStop,
PresentationUI (11)
InstallationError.xaml.cs (1)
21new CommandBinding(NavigationCommands.Refresh,
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (7)
1422if (e.Command.Equals(NavigationCommands.FirstPage)) 1427else if (e.Command.Equals(NavigationCommands.LastPage)) 1448if (e.Command.Equals(NavigationCommands.FirstPage)) 1452else if (e.Command.Equals(NavigationCommands.LastPage)) 1933NavigationCommands.GoToPage.Execute(pageNumber, this); 2090BindCommand(NavigationCommands.FirstPage, executeHandler, queryEnabledHandler); 2091BindCommand(NavigationCommands.LastPage, executeHandler, queryEnabledHandler);
TenFeetInstallationError.xaml.cs (1)
28new CommandBinding(NavigationCommands.Refresh,
TenFeetInstallationProgress.xaml.cs (2)
29new CommandBinding(NavigationCommands.Refresh, 34new CommandBinding(NavigationCommands.BrowseStop,