WorkflowDesignerMessageFilter.OnScroll Method (ScrollBar, Int32)


Occurs when a user scrolls in a workflow designer.

Namespace:   System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

protected virtual bool OnScroll(
	ScrollBar sender,
	int value


Type: System.Windows.Forms.ScrollBar

The ScrollBar that the user scrolled.

Type: System.Int32

The position of the scroll bar.

Return Value

Type: System.Boolean

true if the message is handled; otherwise, false.

OnScroll occurs when you use a scroll bar on a designer to scroll up, down, left, or right.

Unless overridden in a derived class, OnScroll always returns false.

.NET Framework
Available since 3.0
Return to top