ControlInertiaScrollOptions Object

Summary

Options to use with inertia scroll support.

Syntax
TypeScript
JavaScript
function lt.Controls.ControlInertiaScrollOptions 
class lt.Controls.ControlInertiaScrollOptions() 
Remarks

To enable inertia scroll, get the options from the property, set the value of IsEnabled to true, and then set the value back into the property.

ImageViewerPanZoomInteractiveMode supports inertia scrolling when panning the image.

Use CalculateInertia to pass a custom decleration function of type CalculateInertiaCallback for inertia scrolling, or DefaultBezierPoint1, DefaultBezierPoint2, DefaultDuration, and DefaultPower to change the deceleration of the default inertia function DefaultCalculateInertia.

See CreateDefault for the default values of this object.

Example

For an example, refer to ImageViewerPanZoomInteractiveMode.

Requirements

Target Platforms

Help Version 22.0.2021.9.24
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.