velocity Property

Summary

The velocity of the drag event when it ended, including direction.

Syntax
TypeScript
JavaScript
Object.defineProperty(InertiaParams.prototype, 'velocity', 
	get: function(), 
	set: function(value) 
) 
velocity: LeadPointD; 

Property Value

A LeadPointD indicating the velocity at the time the inertia scroll begins.

Remarks

Velocity is continuously averaged with the most recent InteractiveDragEventArgs.Change values over time to get a "running average" velocity of the overall drag.

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.