ScrollEventHandler 委托

定义

表示用于处理 ScrollBarThumb 移动时发生的 Scroll 路由事件的方法。Represents the method that will handle the Scroll routed event that occurs when the Thumb of a ScrollBar moves.

public delegate void ScrollEventHandler(System::Object ^ sender, ScrollEventArgs ^ e);
public delegate void ScrollEventHandler(object sender, ScrollEventArgs e);
type ScrollEventHandler = delegate of obj * ScrollEventArgs -> unit
Public Delegate Sub ScrollEventHandler(sender As Object, e As ScrollEventArgs)

参数

sender
Object

事件处理程序所附加到的对象。The object where the event handler is attached.

e
ScrollEventArgs

事件数据。The event data.

扩展方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

适用于

另请参阅