Provides button control renderer methods.
Public Static Methods | |
| static void | draw_button (xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds) | 
| Draws a button in the specified bounds.   | |
| static void | draw_button (const style_sheets::style_sheet &style_sheet, xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds) | 
| Draws a button in the specified bounds.   | |
| static void | draw_button (xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds, xtd::forms::visual_styles::push_button_state button_state, bool default_button) | 
| Draws a button in the specified bounds, button style and button state.   | |
| static void | draw_button (const style_sheets::style_sheet &style_sheet, xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds, xtd::forms::visual_styles::push_button_state button_state, bool default_button) | 
| Draws a button in the specified bounds, button style and button state.   | |
| static void | draw_button (xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds, xtd::forms::visual_styles::push_button_state button_state, bool default_button, const std::optional< xtd::drawing::color > &back_color) | 
| Draws a button in the specified bounds, button style, button state and background color.   | |
| static void | draw_button (const style_sheets::style_sheet &style_sheet, xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds, xtd::forms::visual_styles::push_button_state button_state, bool default_button, const std::optional< xtd::drawing::color > &back_color) | 
| Draws a button in the specified bounds, button style, button state and background color.   | |
| static void | draw_button (xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds, xtd::forms::visual_styles::push_button_state button_state, bool default_button, const std::optional< xtd::drawing::color > &back_color, const xtd::string &text, const std::optional< xtd::forms::content_alignment > &text_align, const std::optional< xtd::drawing::color > &fore_color, const std::optional< xtd::drawing::font > &font) | 
| Draws a button in the specified bounds, button style, button state, background color, text, optional text flags, optional foreground color and optional font.   | |
| static void | draw_button (const style_sheets::style_sheet &style_sheet, xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds, xtd::forms::visual_styles::push_button_state button_state, bool default_button, const std::optional< xtd::drawing::color > &back_color, const xtd::string &text, const std::optional< xtd::forms::content_alignment > &text_align, const std::optional< xtd::drawing::color > &fore_color, const std::optional< xtd::drawing::font > &font) | 
| Draws a button in the specified bounds, button style, button state, background color, text, optional text flags, optional foreground color and optional font.   | |
| static void | draw_button (xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds, xtd::forms::visual_styles::push_button_state button_state, bool default_button, const std::optional< xtd::drawing::color > &back_color, const xtd::string &text, const std::optional< xtd::forms::content_alignment > &text_align, const std::optional< xtd::drawing::color > &fore_color, const std::optional< xtd::drawing::font > &font, const xtd::drawing::image &image, const std::optional< xtd::forms::content_alignment > &image_align) | 
| Draws a button in the specified bounds, button style, button state, background color, text, optional text flags, optional foreground color and optional font.   | |
| static void | draw_button (const style_sheets::style_sheet &style_sheet, xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds, xtd::forms::visual_styles::push_button_state button_state, bool default_button, const std::optional< xtd::drawing::color > &back_color, const xtd::string &text, const std::optional< xtd::forms::content_alignment > &text_align, const std::optional< xtd::drawing::color > &fore_color, const std::optional< xtd::drawing::font > &font, const xtd::drawing::image &image, const std::optional< xtd::forms::content_alignment > &image_align) | 
| Draws a button in the specified bounds, button style, button state, background color, text, optional text flags, optional foreground color and optional font.   | |
| static void | draw_flat_button (const style_sheets::style_sheet &style_sheet, xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds, xtd::forms::visual_styles::push_button_state button_state, bool default_button, const std::optional< xtd::drawing::color > &back_color, const flat_button_appearance &appearance, const xtd::string &text, const std::optional< xtd::forms::content_alignment > &text_align, const std::optional< xtd::drawing::color > &fore_color, const std::optional< xtd::drawing::font > &font, const xtd::drawing::image &image, const std::optional< xtd::forms::content_alignment > &image_align) | 
| Draws a flat button in the specified bounds, button style, button state, background color, text, optional text flags, optional foreground color and optional font.   | |
| static void | draw_popup_button (const style_sheets::style_sheet &style_sheet, xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds, xtd::forms::visual_styles::push_button_state button_state, bool default_button, const std::optional< xtd::drawing::color > &back_color, const flat_button_appearance &appearance, const xtd::string &text, const std::optional< xtd::forms::content_alignment > &text_align, const std::optional< xtd::drawing::color > &fore_color, const std::optional< xtd::drawing::font > &font, const xtd::drawing::image &image, const std::optional< xtd::forms::content_alignment > &image_align) | 
| Draws a popup button in the specified bounds, button style, button state, background color, text, optional text flags, optional foreground color and optional font.   | |
      
  | 
  static | 
Draws a button in the specified bounds.
| graphics | The xtd::drawing::graphics used to draw a button. | 
| bounds | The xtd::drawing::rectangle that specifies the bounds of the button. | 
      
  | 
  static | 
Draws a button in the specified bounds.
| graphics | The xtd::drawing::graphics used to draw a button. | 
| bounds | The xtd::drawing::rectangle that specifies the bounds of the button. | 
      
  | 
  static | 
Draws a button in the specified bounds, button style and button state.
| 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. | 
      
  | 
  static | 
Draws a button in the specified bounds, button style and button state.
| 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. | 
      
  | 
  static | 
Draws a button in the specified bounds, button style, button state and background color.
| 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. | 
      
  | 
  static | 
Draws a button in the specified bounds, button style, button state and background color.
| 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. | 
      
  | 
  static | 
Draws a button in the specified bounds, button style, button state, background color, text, optional text flags, optional foreground color and optional font.
| 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. | 
      
  | 
  static | 
Draws a button in the specified bounds, button style, button state, background color, text, optional text flags, optional foreground color and optional font.
| 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. | 
      
  | 
  static | 
Draws a button in the specified bounds, button style, button state, background color, text, optional text flags, optional foreground color and optional font.
| 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. | 
| image | The image of the button control. | 
| image_align | Contains the display and layout information for image . | 
      
  | 
  static | 
Draws a button in the specified bounds, button style, button state, background color, text, optional text flags, optional foreground color and optional font.
| style_sheet | The xtd::forms::style_sheets::style_sheet used to draw a button. | 
| 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. | 
| image | The image of the button control. | 
| image_align | Contains the display and layout information for image . | 
      
  | 
  static | 
Draws a flat button in the specified bounds, button style, button state, background color, text, optional text flags, optional foreground color and optional font.
| style_sheet | The xtd::forms::style_sheets::style_sheet used to draw a button. | 
| 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. | 
| image | The image of the button control. | 
| image_align | Contains the display and layout information for image . | 
      
  | 
  static | 
Draws a popup button in the specified bounds, button style, button state, background color, text, optional text flags, optional foreground color and optional font.
| style_sheet | The xtd::forms::style_sheets::style_sheet used to draw a button. | 
| 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. | 
| image | The image of the button control. | 
| image_align | Contains the display and layout information for image . |