Each property of the VisualStyleElement.ScrollBar.UpperTrackVertical class returns a VisualStyleElement for a different state of the vertical scroll bar track above the scroll box (also known as the thumb).

The following code example demonstrates how to create a VisualStyleRenderer with the VisualStyleElement returned by the Normal property. To run this example, paste it into a Windows Form. Handle the form’s Paint event and call the DrawVisualStyleElementScrollBarUpperTrackVertical1 method from the Paint event-handling method, passing e as PaintEventArgs.