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. Scroll bar slider has moved to the Min position. |
| 1 | EndScroll. Scroll bar slider has stopped. |
| 2 | LineLeft. Scroll bar slider has moved to short distance. User has clicked on the left (up) button with arrow for scrolling or pressed UP key. |
| 3 | LineRight. Scroll bar slider has moved to short distance. User has clicked on the right (down) button of scrolling or pressed DOWN key. |
| 4 | PageLeft. Scroll bar slider has moved to long distance. User has clicked scroll bar left (upper) of the scroll bar slider or pressed PAGE UP key. |
| 5 | PageRight. Scroll bar slider has moved to long distance. User has clicked scroll bar right (lower) of the scroll bar slider or pressed PAGE DOWN key. |
| 6 | Right. Scroll bar slider has moved to the Max position. |
| 7 | ThumbPosition. Scroll bar slider has moved. |
| 8 | ThumbTrack. Scroll bar slider is moving at the moment. |
See also: