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