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
orientationScrollBarOrientationScroll bar orientation.
eventTypeScrollEventTypeType of the scroll event.
RaiseScroll(ScrollEventArgs)
Raises the Scroll event and OnScroll(ScrollEventArgs) method.
public void RaiseScroll(ScrollEventArgs e)
Parameters
eScrollEventArgsA ScrollEventArgs that contains the event data.