TouchToolKit for WinForms | ComponentOne
Touch Event Provider / Detecting Tap and Hold
In This Topic
    Detecting Tap and Hold
    In This Topic

    The Tap and Hold touch action is converted to the Right-Click action on Windows. You can catch this event by using the C1ToucheventProvider.RightTapped event. When the C1ToucheventProvider.EnablePressAndHold property is False, the RightTapped event does not occur and the Tapped event occurs repeatedly during the tap and hold action. For example, you can use this to implement the custom SpinButton for touch by using a couple of buttons.

     

    [C#]

    c1TouchEventProvider1.EnablePressAndHold = false;

     

    [Visual Basic]

    C1TouchEventProvider1.EnablePressAndHold = False