1 instantiation of RawKeyboardActions
PresentationCore (1)
System\Windows\Input\KeyboardDevice.cs (1)
998
actions = new
RawKeyboardActions
();
46 references to RawKeyboardActions
PresentationCore (46)
System\Windows\Input\KeyboardDevice.cs (20)
692
if((keyboardInput.Actions &
RawKeyboardActions
.Activate) ==
RawKeyboardActions
.Activate)
722
if((keyboardInput.Actions &
RawKeyboardActions
.KeyDown) ==
RawKeyboardActions
.KeyDown)
724
RawKeyboardActions
actions = GetNonRedundantActions(e);
725
actions |=
RawKeyboardActions
.KeyDown;
739
if((keyboardInput.Actions &
RawKeyboardActions
.KeyUp) ==
RawKeyboardActions
.KeyUp)
741
RawKeyboardActions
actions = GetNonRedundantActions(e);
742
actions |=
RawKeyboardActions
.KeyUp;
914
RawKeyboardActions
actions = GetNonRedundantActions(e);
917
if((actions &
RawKeyboardActions
.KeyDown) ==
RawKeyboardActions
.KeyDown)
936
if((actions &
RawKeyboardActions
.KeyUp) ==
RawKeyboardActions
.KeyUp)
956
if((keyboardInput.Actions &
RawKeyboardActions
.Deactivate) ==
RawKeyboardActions
.Deactivate)
985
private
RawKeyboardActions
GetNonRedundantActions(NotifyInputEventArgs e)
987
RawKeyboardActions
actions;
994
actions = (
RawKeyboardActions
) o;
System\Windows\Input\RawKeyboardInputReport.cs (16)
58
RawKeyboardActions
actions,
66
throw new System.ComponentModel.InvalidEnumArgumentException("actions", (int)actions, typeof(
RawKeyboardActions
));
79
public
RawKeyboardActions
Actions {get {return _actions;}}
108
internal static bool IsValidRawKeyboardActions(
RawKeyboardActions
actions)
110
if (((
RawKeyboardActions
.AttributesChanged |
RawKeyboardActions
.Activate |
RawKeyboardActions
.Deactivate |
111
RawKeyboardActions
.KeyDown |
RawKeyboardActions
.KeyUp) & actions) == actions)
113
if (!((((
RawKeyboardActions
.KeyUp |
RawKeyboardActions
.KeyDown) & actions) == (
RawKeyboardActions
.KeyUp |
RawKeyboardActions
.KeyDown)) ||
114
((
RawKeyboardActions
.Deactivate & actions) == actions &&
RawKeyboardActions
.Deactivate != actions)))
122
private
RawKeyboardActions
_actions;
System\Windows\InterOp\HwndKeyboardInputProvider.cs (10)
311
RawKeyboardActions
.Activate,
442
RawKeyboardActions
.Activate,
529
RawKeyboardActions
action = GetKeyUpKeyDown((WindowMessage)msg.message);
695
private
RawKeyboardActions
GetKeyUpKeyDown(WindowMessage msg)
698
return
RawKeyboardActions
.KeyDown;
700
return
RawKeyboardActions
.KeyUp;
727
RawKeyboardActions
.Deactivate,
805
RawKeyboardActions
actions,
814
if((actions &
RawKeyboardActions
.Deactivate) == 0)
821
actions |=
RawKeyboardActions
.Activate;