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

Leadtools.Controls Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.