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