System.Windows.Forms.ButtonRenderer Members

The members of System.Windows.Forms.ButtonRenderer are listed below.

See Also: Inherited members from System.Object

Public Properties

static
RenderMatchingApplicationStatebool.

Gets or sets a value indicating whether the renderer uses the application state to determine rendering style.

Public Methods

static
DrawButton(System.Drawing.Graphics, System.Drawing.Rectangle, System.Windows.Forms.VisualStyles.PushButtonState)

Draws a button control in the specified state and bounds.

static
DrawButton(System.Drawing.Graphics, System.Drawing.Rectangle, bool, System.Windows.Forms.VisualStyles.PushButtonState)

Draws a button control in the specified state and bounds, and with an optional focus rectangle.

static
DrawButton(System.Drawing.Graphics, System.Drawing.Rectangle, System.Drawing.Image, System.Drawing.Rectangle, bool, System.Windows.Forms.VisualStyles.PushButtonState)

Draws a button control in the specified state and bounds, with the specified image, and with an optional focus rectangle.

static
DrawButton(System.Drawing.Graphics, System.Drawing.Rectangle, string, System.Drawing.Font, bool, System.Windows.Forms.VisualStyles.PushButtonState)

Draws a button control in the specified state and bounds, with the specified text, and with an optional focus rectangle.

static
DrawButton(System.Drawing.Graphics, System.Drawing.Rectangle, string, System.Drawing.Font, TextFormatFlags, bool, System.Windows.Forms.VisualStyles.PushButtonState)

Draws a button control in the specified state and bounds, with the specified text and text formatting, and with an optional focus rectangle.

static
DrawButton(System.Drawing.Graphics, System.Drawing.Rectangle, string, System.Drawing.Font, System.Drawing.Image, System.Drawing.Rectangle, bool, System.Windows.Forms.VisualStyles.PushButtonState)

Draws a button control in the specified state and bounds, with the specified text and image, and with an optional focus rectangle.

static
DrawButton(System.Drawing.Graphics, System.Drawing.Rectangle, string, System.Drawing.Font, TextFormatFlags, System.Drawing.Image, System.Drawing.Rectangle, bool, System.Windows.Forms.VisualStyles.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.

static
DrawParentBackground(System.Drawing.Graphics, System.Drawing.Rectangle, Control)

Draws the background of a control's parent in the specified area.

static
IsBackgroundPartiallyTransparent(System.Windows.Forms.VisualStyles.PushButtonState) : bool

Indicates whether the background of the button has semitransparent or alpha-blended pieces.