ScrollEventHandler 委托

定义

表示将处理 ScrollBarScroll 事件的方法。

public delegate void ScrollEventHandler(Platform::Object ^ sender, ScrollEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2288038052, 41859, 19587, 179, 6, 161, 195, 157, 125, 184, 127)]
class ScrollEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2288038052, 41859, 19587, 179, 6, 161, 195, 157, 125, 184, 127)]
public delegate void ScrollEventHandler(object sender, ScrollEventArgs e);
Public Delegate Sub ScrollEventHandler(sender As Object, e As ScrollEventArgs)

参数

sender
Object

Platform::Object

IInspectable

事件源。

e
ScrollEventArgs

包含事件数据的 ScrollEventArgs

属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

适用于