2 references to StylusButtonState
PresentationCore (2)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (1)
1273(stylusDevice.StylusButtons.GetStylusButtonByGuid(StylusPointPropertyIds.BarrelButton)?.StylusButtonState ?? StylusButtonState.Up) == StylusButtonState.Down;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
1065&& stylusDevice.StylusButtons[barrelPos].StylusButtonState == StylusButtonState.Down)