共用方式為


ScrollControllerAddScrollVelocityRequestedEventArgs 類別

定義

提供 IScrollController.AddScrollVelocityRequested 事件的資料。

public ref class ScrollControllerAddScrollVelocityRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.Activatable(Microsoft.UI.Xaml.Controls.Primitives.IScrollControllerAddScrollVelocityRequestedEventArgsFactory, 327680, "Microsoft.UI.Xaml.XamlContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ScrollControllerAddScrollVelocityRequestedEventArgs final
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.UI.Xaml.Controls.Primitives.IScrollControllerAddScrollVelocityRequestedEventArgsFactory), 327680, "Microsoft.UI.Xaml.XamlContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ScrollControllerAddScrollVelocityRequestedEventArgs
Public NotInheritable Class ScrollControllerAddScrollVelocityRequestedEventArgs
繼承
Object Platform::Object IInspectable ScrollControllerAddScrollVelocityRequestedEventArgs
屬性

建構函式

ScrollControllerAddScrollVelocityRequestedEventArgs(Single, IReference<Single>)

使用指定的位移速度和慣性衰減速率,初始化 ScrollControllerAddScrollVelocityRequestedEventArgs 類別的新實例。

屬性

CorrelationId

取得或設定與位移變更相關聯的相互關聯標識碼。

InertiaDecayRate

針對要求的卷動作業,取得介於 0.0 到 1.0 之間的慣性衰減率。

OffsetVelocity

取得位移變更的要求速度。

適用於

另請參閱