TouchToolKit for WinForms | ComponentOne
C1.Win.TouchToolKit Namespace / C1TouchEventProvider Class / EnablePressAndHold Property
Example

In This Topic
    EnablePressAndHold Property (C1TouchEventProvider)
    In This Topic
    Gets or sets a value indicating whether the control supports the press and hold (right-click) gesture.
    Syntax
    'Declaration
     
    
    Public Property EnablePressAndHold As Boolean
    public bool EnablePressAndHold {get; set;}

    Property Value

    true if allow the press and hold (right-click) gesture; otherwise, false.The default is true.
    Example

    The following code example shows how to use this property.

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

    See Also