NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ScrollBar Scroll Event

Occurs when the <span id="frameworks:scroll_box" class ="gp">scroll box</span> has been moved by either a mouse or keyboard action.

The following declaration shows the syntax for a method that handles the Scroll event.

[Visual Basic]
Private Sub ScrollBarName_Scroll( _
   ByVal sender As Object, _
   ByVal e As ScrollEventArgs _
)
[C#]
private void ScrollBarName_Scroll(
   object sender,
   ScrollEventArgs e
);
[C++]
private: void ScrollBarName_Scroll(
   Object* sender,
   ScrollEventArgs* e
);
[JScript]
private ScrollBarName_Scroll(
   sender : Object,
   e : ScrollEventArgs
);

Parameters

sender
The source of the event.
e
A ScrollEventArgs that contains the event data.

See Also

ScrollBar Class | ScrollBar MembersTopic | System.WinForms Namespace