แก้ไข

แชร์ผ่าน


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);
protected virtual void OnScroll (System.Windows.Forms.ScrollBar sender, int value);
abstract member OnScroll : System.Windows.Forms.ScrollBar * int -> unit
override this.OnScroll : System.Windows.Forms.ScrollBar * int -> unit
Protected Overridable Sub OnScroll (sender As ScrollBar, value As Integer)

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