GenericScroller Methods
Last updated
Was this helpful?
Last updated
Was this helpful?
Resets the of the scroller to Unknown. Should be called when the content is scrolled without interacting with the IScroller (e.g. adding new items to a list). Ensures on next interaction the scroller checks the state.
Syntax:
Scrolls down by the smallest increment, to show the next line of the scrollable content by clicking on the scroll down button. After each click the method waits for the thumb to move and at the end mouse is moved away from the Button (by the ) and the method waits for a stable screen in the area. If the scroller is inactive or already at the bottom, the method returns directly and does not attempt to scroll.
Syntax:
Parameter
Description
[numberOfLines]
Scrolls up by the smallest increment, to show the previous line of the scrollable content by clicking on the scroll up button. After each click the method waits for the thumb to move and at the end mouse is moved away from the Button (by the ) and the method waits for a stable screen in the area. If the scroller is inactive or already at the top, the method returns directly and does not attempt to scroll.
Syntax:
Parameter
Description
[numberOfLines]
Syntax:
Syntax:
Scrolls all the way to the bottom of the scrollable content by pressing the mouse button just above the down button until the thumb does not move up any further. If the scroller is inactive or already at the bottom, the method returns directly and does not attempt to scroll.
Syntax:
Scrolls all the way to the top of the scrollable content by pressing the mouse button just below the up button until the thumb does not move up any further. If the scroller is inactive or already at the top, the method returns directly and does not attempt to scroll.
Syntax:
Syntax:
Parameter
Description
increments
Syntax:
Parameter
Description
increments
Type: The number of lines or increments to scroll down.
Type: The number of lines or increments to scroll down.
Scrolls down by a larger amount, to show the next page of the scrollable content by clicking just above the scroll down button. At the end mouse is moved away from the Button (by the ) and the method waits for a stable screen in the area. If the scroller is inactive or already at the bottom, the method returns directly and does not attempt to scroll.
Scrolls up by a larger amount, to show the previous page of the scrollable content by clicking just below the scroll up button. At the end mouse is moved away from the Button (by the ) and the method waits for a stable screen in the area. If the scroller is inactive or already at the top, the method returns directly and does not attempt to scroll.
Scrolls down using the which typically moves the scrollable content by three lines. The mouse is placed in the middle of the for the ScrollWheel to target the correct scroller. If the scroller is inactive, the method returns directly and does not attempt to scroll.
Type: The number of increments to turn the scroll wheel.
Scrolls up using the which typically moves the scrollable content by three lines. The mouse is placed in the middle of the for the ScrollWheel to target the correct scroller. If the scroller is inactive, the method returns directly and does not attempt to scroll.
Type: The number of increments to turn the scroll wheel.