Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ButtonRenderer Methods

ButtonRenderer Methods

The ButtonRenderer type exposes the following members.

  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.
Public method Static member DrawParentBackground Draws the background of a control's parent in the specified area.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member IsBackgroundPartiallyTransparent Indicates whether the background of the button has semitransparent or alpha-blended pieces.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show:
© 2015 Microsoft