WorkflowDesignerMessageFilter.OnScroll(ScrollBar, Int32) Method

Definition

Occurs when a user scrolls in a workflow designer.

protected:
 virtual bool OnScroll(System::Windows::Forms::ScrollBar ^ sender, int value);
protected virtual bool OnScroll (System.Windows.Forms.ScrollBar sender, int value);
abstract member OnScroll : System.Windows.Forms.ScrollBar * int -> bool
override this.OnScroll : System.Windows.Forms.ScrollBar * int -> bool
Protected Overridable Function OnScroll (sender As ScrollBar, value As Integer) As Boolean

Parameters

sender
ScrollBar

The ScrollBar that the user scrolled.

value
Int32

The position of the scroll bar.

Returns

true if the message is handled; otherwise, false.

Remarks

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.

Applies to