Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ButtonRenderer Methods

The ButtonRenderer type exposes the following members.

  NameDescription
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.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (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.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.