isEnabled Property

Summary

Indicates if inertia scrolling should be used.

Syntax
TypeScript
JavaScript
Object.defineProperty(ControlInertiaScrollOptions.prototype, 'isEnabled', 
	get: function(), 
	set: function(value) 
) 
isEnabled: boolean; 

Property Value

true if inertia scrolling should be used, otherwise; false. Default value is false.

Remarks

Set the value of IsEnabled to true to enable inertia scrolling. CalculateInertia will be used to calculate the offset of the scroll as time passes. If CalculateInertia is null, DefaultCalculateInertia is used.

Example

For an example, refer to ImageViewerPanZoomInteractiveMode.

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