Provides data for the xtd::forms::status_bar::draw_item event.
- Header
#include <xtd/forms/status_bar_draw_item_event_args>
- Namespace
- xtd::forms
- Library
- xtd.forms
|
| status_bar_draw_item_event_args (xtd::drawing::graphics &g, const xtd::drawing::font &font, const xtd::drawing::rectangle &r, size_t item_id, xtd::forms::draw_item_state item_state, const xtd::forms::status_bar_panel &panel) |
| Initializes a new instance of the xtd::forms::status_bar_draw_item_event_args class without specifying a background and foreground color for the xtd::forms::status_bar_panel.
|
|
| status_bar_draw_item_event_args (xtd::drawing::graphics &g, const xtd::drawing::font &font, const xtd::drawing::rectangle &r, size_t item_id, xtd::forms::draw_item_state item_state, const xtd::forms::status_bar_panel &panel, intptr handle) |
| Initializes a new instance of the xtd::forms::status_bar_draw_item_event_args class without specifying a background and foreground color for the xtd::forms::status_bar_panel.
|
|
| status_bar_draw_item_event_args (xtd::drawing::graphics &g, const xtd::drawing::font &font, const xtd::drawing::rectangle &r, size_t item_id, xtd::forms::draw_item_state item_state, const xtd::forms::status_bar_panel &panel, const xtd::drawing::color &back_color, const xtd::drawing::color &fore_color) |
| Initializes a new instance of the xtd::forms::status_bar_draw_item_event_args class without specifying a background and foreground color for the xtd::forms::status_bar_panel.
|
|
| status_bar_draw_item_event_args (xtd::drawing::graphics &g, const xtd::drawing::font &font, const xtd::drawing::rectangle &r, size_t item_id, xtd::forms::draw_item_state item_state, const xtd::forms::status_bar_panel &panel, const xtd::drawing::color &back_color, const xtd::drawing::color &fore_color, intptr handle) |
| Initializes a new instance of the xtd::forms::status_bar_draw_item_event_args class without specifying a background and foreground color for the xtd::forms::status_bar_panel.
|
|
|
static const event_args | empty |
| Provides a value to use with events that do not have event data.
|
|
| draw_item_event_args (xtd::drawing::graphics &graphics, const xtd::drawing::font &font, const xtd::drawing::rectangle &rect, size_t index, xtd::forms::draw_item_state state) |
| Initializes a new instance of the xtd::forms::draw_item_event_args class for the specified control with the specified font, state, surface to draw on, and the bounds to draw within.
|
|
| draw_item_event_args (xtd::drawing::graphics &graphics, const xtd::drawing::font &font, const xtd::drawing::rectangle &rect, size_t index, xtd::forms::draw_item_state state, const xtd::drawing::color &back_color, const xtd::drawing::color &fore_core) |
| Initializes a new instance of the xtd::forms::draw_item_event_args class for the specified control with the specified font, state, foreground color, background color, surface to draw on, and the bounds to draw within.
|
|
const xtd::drawing::color & | back_color () const noexcept |
| Gets the background color of the item that is being drawn.
|
|
const xtd::drawing::rectangle & | bounds () const noexcept |
| Gets the rectangle that represents the bounds of the item that is being drawn.
|
|
const xtd::drawing::font & | font () const noexcept |
| Gets the font that is assigned to the item being drawn.
|
|
const xtd::drawing::color & | fore_color () const noexcept |
| Gets the foreground color of the of the item being drawn.
|
|
xtd::drawing::graphics & | graphics () noexcept |
| Gets the graphics surface to draw the item on.
|
|
size_t | index () const noexcept |
| Gets the index value of the item that is being drawn.
|
|
xtd::forms::draw_item_state | state () const noexcept |
| Gets the state of the item being drawn.
|
|
| event_args ()=default |
| Initializes a new instance of the event_args class.
|
|
| object ()=default |
| Create a new instance of the ultimate base class object.
|
|
virtual bool | equals (const object &obj) const noexcept |
| Determines whether the specified object is equal to the current object.
|
|
virtual size_t | get_hash_code () const noexcept |
| Serves as a hash function for a particular type.
|
|
virtual type_object | get_type () const noexcept |
| Gets the type of the current instance.
|
|
template<typename object_t > |
xtd::uptr< object_t > | memberwise_clone () const |
| Creates a shallow copy of the current object.
|
|
virtual xtd::string | to_string () const noexcept |
| Returns a xtd::string that represents the current object.
|
|
template<typename object_a_t , typename object_b_t > |
static bool | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
| Determines whether the specified object instances are considered equal.
|
|
template<typename object_a_t , typename object_b_t > |
static bool | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
| Determines whether the specified object instances are the same instance.
|
|