Draws a caption button control.
| 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 _ )
- 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.