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

Leadtools.Controls Assembly