System.Windows.Forms.ControlPaint.DrawComboButton Method

Draws a drop-down button on a combo box control in the specified state, on the specified graphics surface, and within the specified bounds.

Syntax

public static void DrawComboButton (System.Drawing.Graphics graphics, int x, int y, int width, int height, ButtonState state)

Parameters

graphics
The System.Drawing.Graphics to draw on.
x
The x-coordinate of the top left of the border rectangle.
y
The y-coordinate of the top left of the border rectangle.
width
The width of the combo box.
height
The height of the combo box.
state
A bitwise combination of the System.Windows.Forms.ButtonState values that specifies the state to draw the combo box 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