Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ButtonRenderer.DrawButton Method

Draws a button control.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member DrawButton(Graphics, Rectangle, PushButtonState) Draws a button control in the specified state and bounds.
Public method Static member DrawButton(Graphics, Rectangle, Boolean, PushButtonState) Draws a button control in the specified state and bounds, and with an optional focus rectangle.
Public method Static member DrawButton(Graphics, Rectangle, Image, Rectangle, Boolean, PushButtonState) Draws a button control in the specified state and bounds, with the specified image, and with an optional focus rectangle.
Public method Static member DrawButton(Graphics, Rectangle, String, Font, Boolean, PushButtonState) Draws a button control in the specified state and bounds, with the specified text, and with an optional focus rectangle.
Public method Static member DrawButton(Graphics, Rectangle, String, Font, TextFormatFlags, Boolean, PushButtonState) Draws a button control in the specified state and bounds, with the specified text and text formatting, and with an optional focus rectangle.
Public method Static member DrawButton(Graphics, Rectangle, String, Font, Image, Rectangle, Boolean, PushButtonState) Draws a button control in the specified state and bounds, with the specified text and image, and with an optional focus rectangle.
Public method Static member DrawButton(Graphics, Rectangle, String, Font, TextFormatFlags, Image, Rectangle, Boolean, PushButtonState) Draws a button control in the specified state and bounds; with the specified text, text formatting, and image; and with an optional focus rectangle.
Top
Show:
© 2015 Microsoft