ActivityDesigner.OnScroll(ScrollBar, Int32) Method

Definition

Notifies the ActivityDesigner when a user changes the scroll position.

protected virtual void OnScroll (System.Windows.Forms.ScrollBar sender, int value);

Parameters

sender
ScrollBar

The ScrollBar on which the user changed position.

value
Int32

The new scroll position value.

Remarks

OnScroll provide no default behavior. You must override it in a class that derives from ActivityDesigner to provide processing logic when a scroll position changes.

Applies to

产品 版本
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1