Raises the Control.MouseWheel event.
- e
- A System.Windows.Forms.MouseEventArgs that contains the event data.
If the vertical scroll bar is visible, which means that the ScrollableControl.VScroll property is set to true, the mouse wheel scrolls through the System.Windows.Forms.ScrollableControl control vertically. However, if only the horizontal scroll bar is visible, which means that the ScrollableControl.VScroll is set to false and the ScrollableControl.HScroll property to set to true, the mouse wheel scrolls horizontally.
Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.
The ScrollableControl.OnMouseWheel(MouseEventArgs) method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.