Method RaiseScroll
RaiseScroll(ScrollBarOrientation, ScrollEventType)
Raises the Scroll event and OnScroll(ScrollEventArgs) method with the specified parameters.
public void RaiseScroll(ScrollBarOrientation orientation, ScrollEventType eventType)
Parameters
orientation
ScrollBarOrientationScroll bar orientation.
eventType
ScrollEventTypeType of the scroll event.
RaiseScroll(ScrollEventArgs)
Raises the Scroll event and OnScroll(ScrollEventArgs) method.
public void RaiseScroll(ScrollEventArgs e)
Parameters
e
ScrollEventArgsA ScrollEventArgs that contains the event data.