Returns the size, in pixels, of the track bar slider (also known as the thumb) that points to the right.
- g
- The System.Drawing.Graphics this operation will use.
- state
- One of the System.Windows.Forms.VisualStyles.TrackBarThumbState values that specifies the visual state of the slider.
A System.Drawing.Size that specifies the size, in pixels, of the slider.
The size of the slider is determined by the current visual style of the operating system.
Before calling this method, you should verify that the value of the TrackBarRenderer.IsSupported property is true.