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