- g
- The System.Drawing.Graphics this operation will use.
- state
- One of the System.Windows.Forms.VisualStyles.ScrollBarState values that specifies the visual state of the scroll box grip.
A System.Drawing.Size that specifies the size of the scroll box grip.
The size of the scroll box grip is determined by the current visual style of the operating system.
Before using this method, you should verify that the ScrollBarRenderer.IsSupported property returns true.