ScrollControllerScrollByRequestedEventArgs 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供 IScrollController.ScrollByRequested
事件的資料。
public ref class ScrollControllerScrollByRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.Activatable(Microsoft.UI.Xaml.Controls.Primitives.IScrollControllerScrollByRequestedEventArgsFactory, 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 ScrollControllerScrollByRequestedEventArgs final
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.UI.Xaml.Controls.Primitives.IScrollControllerScrollByRequestedEventArgsFactory), 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 ScrollControllerScrollByRequestedEventArgs
Public NotInheritable Class ScrollControllerScrollByRequestedEventArgs
- 繼承
- 屬性
建構函式
ScrollControllerScrollByRequestedEventArgs(Double, ScrollingScrollOptions) |
使用指定的位移差異和選項,初始化 ScrollControllerScrollByRequestedEventArgs 類別的新實例。 |
屬性
CorrelationId |
取得與位移變更相關聯的相互關聯標識符。 |
OffsetDelta |
取得捲動位移的變更量。 |
Options |
取得選項,指定是否啟用動畫,並遵守貼齊點。 |