NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ControlPaint.DrawComboButton (Graphics, Rectangle, ButtonState)

Draws the drop down button of a Win32 combo box in the given rectangle with the given state.

[Visual Basic]
Overloads Public Shared Sub DrawComboButton( _
   ByVal graphics As Graphics, _
   ByVal rect As Rectangle, _
   ByVal state As ButtonState _
)
[C#]
public static void DrawComboButton(
   Graphics graphics,
   Rectangle rect,
   ButtonState state
);
[C++]
public: static void DrawComboButton(
   Graphics* graphics,
   Rectangle rect,
   ButtonState state
);
[JScript]
public static function DrawComboButton(
   graphics : Graphics,
   rect : Rectangle,
   state : ButtonState
);

Parameters

graphics
The graphics object to draw to.
rect
The coordiniates of the button to draw.
state
One or more ButtonState flags that determine how to draw the button.

See Also

ControlPaint Class | ControlPaint Members | System.WinForms Namespace | ControlPaint.DrawComboButton Overload List | ButtonState