In The Hand LtdIn The Hand
DrawCaptionButton Method (graphics, rectangle, button, state)
NamespacesInTheHand.Windows.FormsControlPaintDrawCaptionButton(Graphics, Rectangle, CaptionButton, ButtonState)
.NET Components for Mobility
Draws a caption button control.
Declaration Syntax
C#Visual Basic
public static void DrawCaptionButton(
	Graphics graphics,
	Rectangle rectangle,
	CaptionButton button,
	ButtonState state
)
Public Shared Sub DrawCaptionButton ( _
	graphics As Graphics, _
	rectangle As Rectangle, _
	button As CaptionButton, _
	state As ButtonState _
)
Parameters
graphics (Graphics)
The Graphics to draw on.
rectangle (Rectangle)
The Rectangle that represents the dimensions of the caption button.
button (CaptionButton)
One of the CaptionButton values that specifies the type of caption button to draw.
state (ButtonState)
A bitwise combination of the ButtonState values that specifies the state to draw the button in.

Assembly: InTheHand.Windows.Forms (Module: InTheHand.Windows.Forms) Version: 7.0.0.0