ScrollControllerScrollToRequestedEventArgs 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为 IScrollController.ScrollToRequested
事件提供数据。
public ref class ScrollControllerScrollToRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.Activatable(Microsoft.UI.Xaml.Controls.Primitives.IScrollControllerScrollToRequestedEventArgsFactory, 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 ScrollControllerScrollToRequestedEventArgs final
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.UI.Xaml.Controls.Primitives.IScrollControllerScrollToRequestedEventArgsFactory), 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 ScrollControllerScrollToRequestedEventArgs
Public NotInheritable Class ScrollControllerScrollToRequestedEventArgs
- 继承
- 属性
构造函数
ScrollControllerScrollToRequestedEventArgs(Double, ScrollingScrollOptions) |
使用指定的偏移量和选项初始化 ScrollControllerScrollToRequestedEventArgs 类的新实例。 |
属性
CorrelationId |
获取与偏移量更改关联的关联 ID。 |
Offset |
获取目标滚动偏移量。 |
Options |
获取指定是否启用动画和遵循对齐点的选项。 |