←Select platform

HoldDelay Property (InteractiveService)

Summary

Indicates the delay in milliseconds for the Hold events.

Syntax

C#
VB
C++
public int HoldDelay { get; set; } 
Public Property HoldDelay() As Integer 
   Get 
   Set 
public:  
   property int HoldDelay 
   { 
      int get() 
      void set(int value) 
   } 

Property Value

The delay in milliseconds for the Hold events. Default value is 1100 (1.1 seconds)

Remarks

Set this property to a large value to increase the amount of time the user must press and hold the mouse (or touch) to fire the Hold event. Similarly, setting this property to a smaller value decreases the amount of the delay.

A value of 0 fires the event instantly.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls.WinForms Assembly
Click or drag to resize