27 references to DragDropKeyStates
PresentationCore (23)
System\Windows\DragDrop.cs (17)
519
internal static bool IsValidDragDropKeyStates(
DragDropKeyStates
dragDropKeyStates)
523
keyStatesAll = (int)(
DragDropKeyStates
.LeftMouseButton |
524
DragDropKeyStates
.RightMouseButton |
525
DragDropKeyStates
.ShiftKey |
526
DragDropKeyStates
.ControlKey |
527
DragDropKeyStates
.MiddleMouseButton |
528
DragDropKeyStates
.AltKey);
642
args = new QueryContinueDragEventArgs(escapePressed, (
DragDropKeyStates
)grfkeyState);
819
if ((e.KeyStates &
DragDropKeyStates
.LeftMouseButton) ==
DragDropKeyStates
.LeftMouseButton)
823
if ((e.KeyStates &
DragDropKeyStates
.MiddleMouseButton) ==
DragDropKeyStates
.MiddleMouseButton)
827
if ((e.KeyStates &
DragDropKeyStates
.RightMouseButton) ==
DragDropKeyStates
.RightMouseButton)
1130
(
DragDropKeyStates
)dragDropKeyStates,
1233
ctrlKeyDown = ((int)(e.KeyStates &
DragDropKeyStates
.ControlKey) != 0);
1261
ctrlKeyDown = ((int)(e.KeyStates &
DragDropKeyStates
.ControlKey) != 0);
System\Windows\DragEventArgs.cs (3)
40
internal DragEventArgs(IDataObject data,
DragDropKeyStates
dragDropKeyStates, DragDropEffects allowedEffects, DependencyObject target, Point point)
117
public
DragDropKeyStates
KeyStates
190
private
DragDropKeyStates
_dragDropKeyStates;
System\Windows\QueryContinueDragEventArgs.cs (3)
29
internal QueryContinueDragEventArgs(bool escapePressed,
DragDropKeyStates
dragDropKeyStates)
62
public
DragDropKeyStates
KeyStates
124
private
DragDropKeyStates
_dragDropKeyStates;
PresentationFramework (4)
System\windows\Documents\TextEditorDragDrop.cs (4)
305
bool ctrlKeyDown = ((int)(e.KeyStates &
DragDropKeyStates
.ControlKey) != 0);
329
bool ctrlKeyDown = ((int)(e.KeyStates &
DragDropKeyStates
.ControlKey) != 0);
516
if ((int)(e.KeyStates &
DragDropKeyStates
.ControlKey) != 0)
716
bool mouseUp = (((int)e.KeyStates & (int)
DragDropKeyStates
.LeftMouseButton) == 0);