32 references to IsKeyDown
PresentationCore (5)
Core\CSharp\System\Windows\Input\TextCompositionManager.cs (2)
884if (!Keyboard.IsKeyDown(Key.LeftAlt) && !Keyboard.IsKeyDown(Key.RightAlt))
Core\CSharp\System\Windows\Input\TextServicesManager.cs (3)
282if (Keyboard.IsKeyDown(Key.LeftAlt) || 283Keyboard.IsKeyDown(Key.RightAlt) || 284Keyboard.IsKeyDown(Key.F10))
PresentationFramework (6)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (2)
1290bool altKeyDown = Keyboard.IsKeyDown(Key.LeftAlt) || Keyboard.IsKeyDown(Key.RightAlt);
src\Framework\System\Windows\Controls\DocumentViewer.cs (2)
1303if (Keyboard.IsKeyDown(Key.LeftCtrl) || 1304Keyboard.IsKeyDown(Key.RightCtrl))
src\Framework\System\Windows\Controls\Menu.cs (2)
352if (!(Keyboard.IsKeyDown(Key.LeftAlt) || Keyboard.IsKeyDown(Key.RightAlt)))
System.Activities.Presentation (21)
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (4)
673if ((Keyboard.IsKeyDown(Key.RightShift)) || (Keyboard.IsKeyDown(Key.LeftShift)) || 674(Keyboard.IsKeyDown(Key.LeftCtrl)) || (Keyboard.IsKeyDown(Key.RightCtrl)))
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (2)
727if (Keyboard.IsKeyDown(Key.LeftCtrl) || Keyboard.IsKeyDown(Key.RightCtrl))
System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (2)
153this.Select(Keyboard.IsKeyDown(Key.LeftCtrl) || Keyboard.IsKeyDown(Key.RightCtrl));
System.Activities.Presentation\System\Activities\Presentation\View\ScrollViewerPanner.cs (1)
270|| (Keyboard.IsKeyDown(Key.Space) && this.CurrentPanState == PanState.Panning))
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (2)
635if (Keyboard.IsKeyDown(Key.LeftCtrl) || Keyboard.IsKeyDown(Key.RightCtrl))
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (2)
520if (Keyboard.IsKeyDown(Key.LeftCtrl) || Keyboard.IsKeyDown(Key.RightCtrl))
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (8)
600if (!Keyboard.IsKeyDown(Key.LeftCtrl) && !Keyboard.IsKeyDown(Key.RightCtrl)) 627if (!Keyboard.IsKeyDown(Key.LeftCtrl) && !Keyboard.IsKeyDown(Key.RightCtrl)) 766if (Keyboard.IsKeyDown(Key.LeftCtrl) || Keyboard.IsKeyDown(Key.RightCtrl)) 825if (Keyboard.IsKeyDown(Key.LeftCtrl) || Keyboard.IsKeyDown(Key.RightCtrl))