ButtonRenderer::DrawButton Method

 

Draws a button control.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticDrawButton(Graphics^, Rectangle, Boolean, PushButtonState)

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

System_CAPS_pubmethodSystem_CAPS_staticDrawButton(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.

System_CAPS_pubmethodSystem_CAPS_staticDrawButton(Graphics^, Rectangle, PushButtonState)

Draws a button control in the specified state and bounds.

System_CAPS_pubmethodSystem_CAPS_staticDrawButton(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.

System_CAPS_pubmethodSystem_CAPS_staticDrawButton(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.

System_CAPS_pubmethodSystem_CAPS_staticDrawButton(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.

System_CAPS_pubmethodSystem_CAPS_staticDrawButton(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.

Return to top
Show: