ScrollView.AddScrollVelocity(Vector2, IReference<Vector2>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously adds velocity to a scroll action.
public:
virtual int AddScrollVelocity(float2 offsetsVelocity, IReference<float2> ^ inertiaDecayRate) = AddScrollVelocity;
int AddScrollVelocity(float2 const& offsetsVelocity, IReference<float2> const& inertiaDecayRate);
public int AddScrollVelocity(Vector2 offsetsVelocity, System.Nullable<Vector2> inertiaDecayRate);
function addScrollVelocity(offsetsVelocity, inertiaDecayRate)
Public Function AddScrollVelocity (offsetsVelocity As Vector2, inertiaDecayRate As Nullable(Of Vector2)) As Integer
Parameters
- inertiaDecayRate
-
IReference<float2>
The decay rate of the inertia.
Returns
Int32
int
A correlation ID number used to associate this method call with corresponding events.