27 references to DragDropKeyStates
PresentationCore (23)
System\Windows\DragDrop.cs (17)
520internal static bool IsValidDragDropKeyStates(DragDropKeyStates dragDropKeyStates) 524keyStatesAll = (int)(DragDropKeyStates.LeftMouseButton | 525DragDropKeyStates.RightMouseButton | 526DragDropKeyStates.ShiftKey | 527DragDropKeyStates.ControlKey | 528DragDropKeyStates.MiddleMouseButton | 529DragDropKeyStates.AltKey); 643args = new QueryContinueDragEventArgs(escapePressed, (DragDropKeyStates)grfkeyState); 820if ((e.KeyStates & DragDropKeyStates.LeftMouseButton) == DragDropKeyStates.LeftMouseButton) 824if ((e.KeyStates & DragDropKeyStates.MiddleMouseButton) == DragDropKeyStates.MiddleMouseButton) 828if ((e.KeyStates & DragDropKeyStates.RightMouseButton) == DragDropKeyStates.RightMouseButton) 1131(DragDropKeyStates)dragDropKeyStates, 1234ctrlKeyDown = ((int)(e.KeyStates & DragDropKeyStates.ControlKey) != 0); 1262ctrlKeyDown = ((int)(e.KeyStates & DragDropKeyStates.ControlKey) != 0);
System\Windows\DragEventArgs.cs (3)
41internal DragEventArgs(IDataObject data, DragDropKeyStates dragDropKeyStates, DragDropEffects allowedEffects, DependencyObject target, Point point) 118public DragDropKeyStates KeyStates 191private DragDropKeyStates _dragDropKeyStates;
System\Windows\QueryContinueDragEventArgs.cs (3)
30internal QueryContinueDragEventArgs(bool escapePressed, DragDropKeyStates dragDropKeyStates) 63public DragDropKeyStates KeyStates 125private DragDropKeyStates _dragDropKeyStates;
PresentationFramework (4)
System\windows\Documents\TextEditorDragDrop.cs (4)
306bool ctrlKeyDown = ((int)(e.KeyStates & DragDropKeyStates.ControlKey) != 0); 330bool ctrlKeyDown = ((int)(e.KeyStates & DragDropKeyStates.ControlKey) != 0); 517if ((int)(e.KeyStates & DragDropKeyStates.ControlKey) != 0) 717bool mouseUp = (((int)e.KeyStates & (int)DragDropKeyStates.LeftMouseButton) == 0);