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 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly