Draws a button in the specified bounds, button style, button state, background color, text, optional text flags, optional foreground color and optional font.
- Parameters
-
graphics | The xtd::drawing::graphics used to draw a button. |
bounds | The xtd::drawing::rectangle that specifies the bounds of the button. |
button_state | The visual state of a button that is drawn with visual styles. |
default_button | Sets to tru if the buffon is default; otherwise false. |
back_color | The background color for the button control. |
text | The text of the button control. |
text_flags | Contains the display and layout information for text strings. |
fore_color | The foreground color for the button control. |
font | The font of the text for the button control. |