src\Framework\System\Windows\Controls\DocumentViewer.cs (22)
1540new KeyGesture(Key.D2, ModifierKeys.Control));
1670new KeyGesture(Key.Add, ModifierKeys.Control),
1672new KeyGesture(Key.Add, ModifierKeys.Shift | ModifierKeys.Control),
1674new KeyGesture(Key.OemPlus, ModifierKeys.Control),
1676new KeyGesture(Key.OemPlus, ModifierKeys.Shift | ModifierKeys.Control));
1686new KeyGesture(Key.Subtract, ModifierKeys.Control),
1688new KeyGesture(Key.Subtract, ModifierKeys.Shift | ModifierKeys.Control),
1690new KeyGesture(Key.OemMinus, ModifierKeys.Control),
1692new KeyGesture(Key.OemMinus, ModifierKeys.Shift | ModifierKeys.Control));
1699new KeyGesture(Key.PageUp, ModifierKeys.Control));
1706new KeyGesture(Key.PageDown, ModifierKeys.Control));
1713new KeyGesture(Key.Home, ModifierKeys.Control));
1720new KeyGesture(Key.End, ModifierKeys.Control));
1731new KeyGesture(Key.D1, ModifierKeys.Control));
1741new KeyGesture(Key.D3, ModifierKeys.Control));
1751new KeyGesture(Key.D4, ModifierKeys.Control));
2339_findToolbar.SearchUp = ((e.KeyboardDevice.Modifiers & ModifierKeys.Shift) == ModifierKeys.Shift);
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (8)
682FindToolBar.SearchUp = ((e.KeyboardDevice.Modifiers & ModifierKeys.Shift) == ModifierKeys.Shift);
713if ((Keyboard.Modifiers & ModifierKeys.Control) == ModifierKeys.Control)
1371executedHandler, canExecuteHandler, new KeyGesture(Key.Home), new KeyGesture(Key.Home, ModifierKeys.Control));
1375executedHandler, canExecuteHandler, new KeyGesture(Key.End), new KeyGesture(Key.End, ModifierKeys.Control));
1379executedHandler, canExecuteHandler, new KeyGesture(Key.OemPlus, ModifierKeys.Control));
1383executedHandler, canExecuteHandler, new KeyGesture(Key.OemMinus, ModifierKeys.Control));
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (4)
157((Keyboard.Modifiers & ModifierKeys.Shift) == ModifierKeys.Shift))
711CommandHelpers.RegisterCommandHandler(typeof(ScrollBar), ScrollBar.ScrollToTopCommand, onScrollCommand, onQueryScrollCommand, new KeyGesture(Key.Home, ModifierKeys.Control));
712CommandHelpers.RegisterCommandHandler(typeof(ScrollBar), ScrollBar.ScrollToBottomCommand, onScrollCommand, onQueryScrollCommand, new KeyGesture(Key.End, ModifierKeys.Control));
src\Framework\System\Windows\Controls\SinglePageViewer.cs (8)
405FindToolBar.SearchUp = ((e.KeyboardDevice.Modifiers & ModifierKeys.Shift) == ModifierKeys.Shift);
433if ((Keyboard.Modifiers & ModifierKeys.Control) == ModifierKeys.Control)
1273executedHandler, canExecuteHandler, new KeyGesture(Key.OemPlus, ModifierKeys.Control));
1277executedHandler, canExecuteHandler, new KeyGesture(Key.OemMinus, ModifierKeys.Control));
1287CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.FirstPage, new KeyGesture(Key.Home, ModifierKeys.Control)));
1289CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.LastPage, new KeyGesture(Key.End, ModifierKeys.Control)));
src\Framework\System\Windows\Input\KeyboardNavigation.cs (17)
1036private bool Navigate(DependencyObject currentElement, TraversalRequest request, ModifierKeys modifierKeys, bool fromProcessInputTabKey = false)
1041private bool Navigate(DependencyObject currentElement, TraversalRequest request, ModifierKeys modifierKeys, DependencyObject firstElement, bool fromProcessInputTabKey = false)
1050_navigationProperty = (modifierKeys & ModifierKeys.Control) == ModifierKeys.Control ? ControlTabNavigationProperty : TabNavigationProperty;
1055_navigationProperty = (modifierKeys & ModifierKeys.Control) == ModifierKeys.Control ? ControlTabNavigationProperty : TabNavigationProperty;
1060_navigationProperty = (modifierKeys & ModifierKeys.Control) == ModifierKeys.Control ? ControlTabNavigationProperty : TabNavigationProperty;
1065_navigationProperty = (modifierKeys & ModifierKeys.Control) == ModifierKeys.Control ? ControlTabNavigationProperty : TabNavigationProperty;
1483internal bool Navigate(DependencyObject sourceElement, Key key, ModifierKeys modifiers, bool fromProcessInput = false)
1492new TraversalRequest(((modifiers & ModifierKeys.Shift) == ModifierKeys.Shift) ?
3282if ((Keyboard.Modifiers & (ModifierKeys.Control | ModifierKeys.Shift | ModifierKeys.Windows)) == ModifierKeys.None)