127 references to NavigationCommands
PresentationCore (12)
System\Windows\Input\Command\CommandDevice.cs (7)
123appCommand = NavigationCommands.BrowseBack; 126appCommand = NavigationCommands.BrowseForward; 129appCommand = NavigationCommands.Refresh; 132appCommand = NavigationCommands.BrowseStop; 135appCommand = NavigationCommands.Search; 138appCommand = NavigationCommands.Favorites; 141appCommand = NavigationCommands.BrowseHome;
System\Windows\Input\Command\NavigationCommands.cs (1)
332typeof(NavigationCommands), (byte)idCommand);
System\Windows\Input\Command\RoutedCommand.cs (2)
248else if(OwnerType == typeof(NavigationCommands)) 250return NavigationCommands.LoadDefaultGestureFromResource(_commandId);
System\Windows\Input\Command\RoutedUICommand.cs (2)
92else if(OwnerType == typeof(NavigationCommands)) 94return NavigationCommands.GetUIText(CommandId);
PresentationFramework (104)
MS\Internal\Documents\DocumentGridContextMenu.cs (4)
156NavigationCommands.PreviousPage, 163NavigationCommands.NextPage, 170NavigationCommands.FirstPage, 177NavigationCommands.LastPage,
System\Windows\Controls\DocumentViewer.cs (23)
1565NavigationCommands.Zoom, 1574NavigationCommands.IncreaseZoom, 1590NavigationCommands.DecreaseZoom, 1604NavigationCommands.PreviousPage, 1611NavigationCommands.NextPage, 1618NavigationCommands.FirstPage, 1625NavigationCommands.LastPage, 1638new InputBinding(NavigationCommands.Zoom, 1700args.Command == NavigationCommands.Zoom) 1738else if (args.Command == NavigationCommands.IncreaseZoom) 1744else if (args.Command == NavigationCommands.DecreaseZoom) 1750else if (args.Command == NavigationCommands.PreviousPage 1751|| args.Command == NavigationCommands.FirstPage) 1757else if (args.Command == NavigationCommands.NextPage 1758|| args.Command == NavigationCommands.LastPage) 1764else if (args.Command == NavigationCommands.GoToPage) 1851else if (args.Command == NavigationCommands.Zoom) 1855else if (args.Command == NavigationCommands.DecreaseZoom) 1859else if (args.Command == NavigationCommands.IncreaseZoom) 1863else if (args.Command == NavigationCommands.PreviousPage) 1867else if (args.Command == NavigationCommands.NextPage) 1871else if (args.Command == NavigationCommands.FirstPage) 1875else if (args.Command == NavigationCommands.LastPage)
System\Windows\Controls\FlowDocumentReader.cs (12)
1335CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.PreviousPage, 1339CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.NextPage, 1343CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.FirstPage, 1347CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.LastPage, 1351CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.IncreaseZoom, 1355CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.DecreaseZoom, 1444else if (args.Command == NavigationCommands.IncreaseZoom) 1448else if (args.Command == NavigationCommands.DecreaseZoom) 1452else if (args.Command == NavigationCommands.PreviousPage) 1456else if (args.Command == NavigationCommands.NextPage) 1460else if (args.Command == NavigationCommands.FirstPage) 1464else if (args.Command == NavigationCommands.LastPage)
System\Windows\Controls\FlowDocumentScrollViewer.cs (12)
1341CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentScrollViewer), NavigationCommands.PreviousPage, 1345CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentScrollViewer), NavigationCommands.NextPage, 1349CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentScrollViewer), NavigationCommands.FirstPage, 1353CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentScrollViewer), NavigationCommands.LastPage, 1357CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentScrollViewer), NavigationCommands.IncreaseZoom, 1361CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentScrollViewer), NavigationCommands.DecreaseZoom, 1449else if (args.Command == NavigationCommands.IncreaseZoom) 1453else if (args.Command == NavigationCommands.DecreaseZoom) 1473else if (args.Command == NavigationCommands.NextPage) 1477else if (args.Command == NavigationCommands.PreviousPage) 1481else if (args.Command == NavigationCommands.FirstPage) 1485else if (args.Command == NavigationCommands.LastPage)
System\Windows\Controls\Frame.cs (5)
1334AddCommandBinding(new CommandBinding(NavigationCommands.BrowseBack, OnGoBack, OnQueryGoBack)); 1335AddCommandBinding(new CommandBinding(NavigationCommands.BrowseForward, OnGoForward, OnQueryGoForward)); 1336AddCommandBinding(new CommandBinding(NavigationCommands.NavigateJournal, OnNavigateJournal)); 1337AddCommandBinding(new CommandBinding(NavigationCommands.Refresh, OnRefresh, OnQueryRefresh)); 1338AddCommandBinding(new CommandBinding(NavigationCommands.BrowseStop, OnBrowseStop));
System\Windows\Controls\Primitives\DocumentViewerBase.cs (10)
1430CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.PreviousPage, 1434CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.NextPage, 1438CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.FirstPage, 1442CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.LastPage, 1446CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.GoToPage, 1505if (args.Command == NavigationCommands.PreviousPage) 1509else if (args.Command == NavigationCommands.NextPage) 1513else if (args.Command == NavigationCommands.FirstPage) 1517else if (args.Command == NavigationCommands.LastPage) 1521else if (args.Command == NavigationCommands.GoToPage)
System\Windows\Controls\SinglePageViewer.cs (14)
1263CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentPageViewer), NavigationCommands.IncreaseZoom, 1267CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentPageViewer), NavigationCommands.DecreaseZoom, 1271CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.PreviousPage, new KeyGesture(Key.Left))); 1272CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.PreviousPage, new KeyGesture(Key.Up))); 1273CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.PreviousPage, new KeyGesture(Key.PageUp))); 1274CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.NextPage, new KeyGesture(Key.Right))); 1275CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.NextPage, new KeyGesture(Key.Down))); 1276CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.NextPage, new KeyGesture(Key.PageDown))); 1277CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.FirstPage, new KeyGesture(Key.Home))); 1278CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.FirstPage, new KeyGesture(Key.Home, ModifierKeys.Control))); 1279CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.LastPage, new KeyGesture(Key.End))); 1280CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.LastPage, new KeyGesture(Key.End, ModifierKeys.Control))); 1321if (args.Command == NavigationCommands.IncreaseZoom) 1325else if (args.Command == NavigationCommands.DecreaseZoom)
System\Windows\Input\Command\CommandConverter.cs (19)
198commandType == typeof(NavigationCommands) || 245if (ownerType == typeof(NavigationCommands) || ((null == knownCommand) && searchAll)) 250knownCommand = NavigationCommands.BrowseBack; 253knownCommand = NavigationCommands.BrowseForward; 256knownCommand = NavigationCommands.BrowseHome; 259knownCommand = NavigationCommands.BrowseStop; 262knownCommand = NavigationCommands.Refresh; 265knownCommand = NavigationCommands.Favorites; 268knownCommand = NavigationCommands.Search; 271knownCommand = NavigationCommands.IncreaseZoom; 274knownCommand = NavigationCommands.DecreaseZoom; 277knownCommand = NavigationCommands.Zoom; 280knownCommand = NavigationCommands.NextPage; 283knownCommand = NavigationCommands.PreviousPage; 286knownCommand = NavigationCommands.FirstPage; 289knownCommand = NavigationCommands.LastPage; 292knownCommand = NavigationCommands.GoToPage; 295knownCommand = NavigationCommands.NavigateJournal; 741VerifyCommandDoesntExist( typeof(NavigationCommands), localName );
System\Windows\Navigation\NavigationWindow.cs (5)
160NavigationCommands.BrowseBack, 167NavigationCommands.BrowseForward, 173new CommandBinding(NavigationCommands.NavigateJournal, new ExecutedRoutedEventHandler(OnNavigateJournal))); 178NavigationCommands.Refresh, 185NavigationCommands.BrowseStop,
PresentationUI (11)
InstallationError.xaml.cs (1)
20new CommandBinding(NavigationCommands.Refresh,
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (7)
1421if (e.Command.Equals(NavigationCommands.FirstPage)) 1426else if (e.Command.Equals(NavigationCommands.LastPage)) 1447if (e.Command.Equals(NavigationCommands.FirstPage)) 1451else if (e.Command.Equals(NavigationCommands.LastPage)) 1932NavigationCommands.GoToPage.Execute(pageNumber, this); 2089BindCommand(NavigationCommands.FirstPage, executeHandler, queryEnabledHandler); 2090BindCommand(NavigationCommands.LastPage, executeHandler, queryEnabledHandler);
TenFeetInstallationError.xaml.cs (1)
27new CommandBinding(NavigationCommands.Refresh,
TenFeetInstallationProgress.xaml.cs (2)
28new CommandBinding(NavigationCommands.Refresh, 33new CommandBinding(NavigationCommands.BrowseStop,