WPF Button控件怎么实现'位变量'按住保持的功能(C#)

工控平板电脑(无鼠标),想实现按钮按住使一个位变量接通,松开复位该位变量。

移动设备因该有各类touch事件
touchstart
touchmove
touchend