TouchToolKit for WinForms | ComponentOne
C1.Win.TouchToolKit Namespace / C1TouchEventProvider Class / RightTapped Event
Example

In This Topic
    RightTapped Event (C1TouchEventProvider)
    In This Topic
    Occurs when a right-tap input stimulus happens while the pointer is over the specific control.
    Syntax
    'Declaration
     
    
    Public Event RightTapped As EventHandler(Of RightTappedEventArgs)
    public event EventHandler<RightTappedEventArgs> RightTapped
    Event Data

    The event handler receives an argument of type RightTappedEventArgs containing data related to this event. The following RightTappedEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets a value that marks the routed event as handled. Setting to true prevents most handlers along the event route from handling the same event again. (Inherited from C1.Win.TouchToolKit.TouchRoutedEventArgs)
    Gets a reference to the object that raised the event. (Inherited from C1.Win.TouchToolKit.TouchRoutedEventArgs)
    Gets the PointerDeviceType for the pointer device that initiated the associated input event.  
    Returns the x- and y- control coordinates of the pointer position.  
    Gets the target control which attached to the C1TouchEventProvider. (Inherited from C1.Win.TouchToolKit.TouchRoutedEventArgs)
    Remarks

    RightTapped for a touch action results from processing a Tapped action that remains in one place for a certain amount of time. A Holding event from the same control may precede this, but RightTapped won't fire until the touch point is released.

    This event is a routed event. If you do not want parent control receive this event, set RightTappedEventArgs.Handled

    Example

    The following code example shows how to use this event.

    This code example is part of a larger example provided for the C1TouchEventProvider class.

    See Also