ScrollControllerAddScrollVelocityRequestedEventArgs 构造函数

定义

使用指定的偏移速度和惯性衰减率初始化 ScrollControllerAddScrollVelocityRequestedEventArgs 类的新实例。

public:
 ScrollControllerAddScrollVelocityRequestedEventArgs(float offsetVelocity, IReference<float> ^ inertiaDecayRate);
 ScrollControllerAddScrollVelocityRequestedEventArgs(float const& offsetVelocity, IReference<float> const& inertiaDecayRate);
public ScrollControllerAddScrollVelocityRequestedEventArgs(float offsetVelocity, System.Nullable<float> inertiaDecayRate);
function ScrollControllerAddScrollVelocityRequestedEventArgs(offsetVelocity, inertiaDecayRate)
Public Sub New (offsetVelocity As Single, inertiaDecayRate As Nullable(Of Single))

参数

offsetVelocity
Single

float

偏移量更改的请求速度。

inertiaDecayRate

IReference<Single>

Nullable<Single>

IReference<float>

惯性衰减率。

适用于