TrackBarRenderer.DrawHorizontalTrack Method (Graphics, Rectangle)
Draws the track for a horizontal track bar with visual styles.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The operating system does not support visual styles.
Visual styles are disabled by the user in the operating system.
Visual styles are not applied to the client area of application windows.
Before calling this method, you should verify that the value of the IsSupported property is true.
Available since 2.0