System.Windows.Forms.TrackBarRenderer.DrawRightPointingThumb Method

Draws a right-pointing track bar slider (also known as the thumb) with visual styles.

Syntax

public static void DrawRightPointingThumb (System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.TrackBarThumbState state)

Parameters

g
The System.Drawing.Graphics used to draw the track bar slider.
bounds
The System.Drawing.Rectangle that specifies the bounds of the track bar slider.
state
One of the System.Windows.Forms.VisualStyles.TrackBarThumbState values that specifies the visual state of the track bar slider.

Remarks

Before calling this method, you should verify that the value of the TrackBarRenderer.IsSupported property is true.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0