27 references to DragDropKeyStates
PresentationCore (23)
Core\CSharp\System\Windows\DragDrop.cs (17)
564internal static bool IsValidDragDropKeyStates(DragDropKeyStates dragDropKeyStates) 568keyStatesAll = (int)(DragDropKeyStates.LeftMouseButton | 569DragDropKeyStates.RightMouseButton | 570DragDropKeyStates.ShiftKey | 571DragDropKeyStates.ControlKey | 572DragDropKeyStates.MiddleMouseButton | 573DragDropKeyStates.AltKey); 688args = new QueryContinueDragEventArgs(escapePressed, (DragDropKeyStates)grfkeyState); 865if ((e.KeyStates & DragDropKeyStates.LeftMouseButton) == DragDropKeyStates.LeftMouseButton) 869if ((e.KeyStates & DragDropKeyStates.MiddleMouseButton) == DragDropKeyStates.MiddleMouseButton) 873if ((e.KeyStates & DragDropKeyStates.RightMouseButton) == DragDropKeyStates.RightMouseButton) 1176(DragDropKeyStates)dragDropKeyStates, 1279ctrlKeyDown = ((int)(e.KeyStates & DragDropKeyStates.ControlKey) != 0); 1307ctrlKeyDown = ((int)(e.KeyStates & DragDropKeyStates.ControlKey) != 0);
Core\CSharp\System\Windows\DragEventArgs.cs (3)
57internal DragEventArgs(IDataObject data, DragDropKeyStates dragDropKeyStates, DragDropEffects allowedEffects, DependencyObject target, Point point) 137public DragDropKeyStates KeyStates 210private DragDropKeyStates _dragDropKeyStates;
Core\CSharp\System\Windows\QueryContinueDragEventArgs.cs (3)
45internal QueryContinueDragEventArgs(bool escapePressed, DragDropKeyStates dragDropKeyStates) 78public DragDropKeyStates KeyStates 140private DragDropKeyStates _dragDropKeyStates;
PresentationFramework (4)
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (4)
335bool ctrlKeyDown = ((int)(e.KeyStates & DragDropKeyStates.ControlKey) != 0); 359bool ctrlKeyDown = ((int)(e.KeyStates & DragDropKeyStates.ControlKey) != 0); 546if ((int)(e.KeyStates & DragDropKeyStates.ControlKey) != 0) 762bool mouseUp = (((int)e.KeyStates & (int)DragDropKeyStates.LeftMouseButton) == 0);