←Select platform

DefaultPower Property

Summary

A multiplier for the distance of the default inertia scroll.

Syntax
C#
C++/CLI
public double DefaultPower { get; set; } 
public:  
   property double DefaultPower 
   { 
      double get() 
      void set(double value) 
   } 

Property Value

A double indicating a multiplier for the inertial distance. The default value is 8.

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.

The resulting inertia offset is multiplied by DefaultPower to make the offset larger or smaller within the same time defined by DefaultDuration.

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.