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 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.