System.Windows.Forms.TrackBarRenderer.GetBottomPointingThumbSize Method

Returns the size, in pixels, of the track bar slider (also known as the thumb) that points down.

Syntax

public static System.Drawing.Size GetBottomPointingThumbSize (System.Drawing.Graphics g, System.Windows.Forms.VisualStyles.TrackBarThumbState state)

Parameters

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 track bar slider.

Returns

A System.Drawing.Size that specifies the size, in pixels, of the slider.

Remarks

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.

Requirements

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