←Select platform

DefaultDuration Property

Summary

The time in milliseconds for the default inertia scroll to last.

Syntax
C#
C++/CLI
public int DefaultDuration { get; set; } 
public:  
   property Int32 DefaultDuration 
   { 
      Int32 get() 
      void set(Int32 value) 
   } 

Property Value

An int indicating the duration in milliseconds. The default value is 2500.

Remarks

DefaultCalculateInertia makes use of the values of DefaultBezierPoint1, DefaultBezierPoint2, DefaultDuration, and DefaultPower to return the new inertia scroll offset. The Bézier function is defined by the four points (0,0), DefaultBezierPoint1, DefaultBezierPoint2, (1,1) and defines the percent of total distance for the inertia animation. When the time elapsed (since InertiaParams.ReasonTimestamp) is greater than or equal to DefaultDuration, the inertia scroll will be complete.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.