The ScrollBarCode enumeration contains the values that indicate the actions that resulted in generating the event related to the scroll bar.
It is used by the following property:
| Value | Brief description |
| 0 | Left. Scrollbar slider has moved to the Min position. |
| 1 | EndScroll. Scrollbar slider has stopped. |
| 2 | LineLeft. Scrollbar slider has moved to short distance. The user has clicked on the left (up) button with arrow for scrolling or pressed the UP key. |
| 3 | LineRight. Scrollbar slider has moved to short distance. The user has clicked on the right (down) button of scrolling or pressed the DOWN key. |
| 4 | PageLeft. Scrollbar slider has moved to long distance. The user has clicked scrollbar left (upper) of the scrollbar slider or pressed the PAGE UP key. |
| 5 | PageRight. Scrollbar slider has moved to long distance. The user has clicked scrollbar right (lower) of the scrollbar slider or pressed the PAGE DOWN key. |
| 6 | Right. Scrollbar slider has moved to the Max position. |
| 7 | ThumbPosition. Scrollbar slider has moved. |
| 8 | ThumbTrack. Scrollbar slider is moving at the moment. |
See also: