System.Windows.Forms.ControlPaint.DrawScrollButton Method

Draws the specified scroll button on a scroll bar control in the specified state, on the specified graphics surface, and within the specified bounds.

Syntax

public static void DrawScrollButton (System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle, ScrollButton button, ButtonState state)

Parameters

graphics
The System.Drawing.Graphics to draw on.
rectangle
The System.Drawing.Rectangle that represents the dimensions of the glyph.
button
One of the System.Windows.Forms.ScrollButton values that specifies the type of scroll arrow to draw.
state
A bitwise combination of the System.Windows.Forms.ButtonState values that specifies the state to draw the scroll button in.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0