createDefault Method

Summary

Creates a new instance of ControlInertiaScrollOptions with default options.

Syntax
TypeScript
JavaScript
createDefault = function() 
static createDefault(): ControlInertiaScrollOptions; 

Return Value

The newly created object.

Remarks

This method sets values of ControlInertiaScrollOptions as follows:

Member Value
IsEnabled
false
CalculateInertia DefaultCalculateInertia
DefaultBezierPoint1 LeadPointD (0.0, 0.9)
DefaultBezierPoint2 LeadPointD (0.3, 1.0)
DefaultDuration
2500 (ms)
DefaultPower 8

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

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