37 if (auto_ellipsis_ != auto_ellipsis)
38 auto_ellipsis_ = auto_ellipsis;
45 if (get_state(state::auto_size))
46 auto_ellipsis_ =
false;
158 if (can_raise_events()) image_changed(*
this,
e);
206 bool auto_ellipsis_ =
false;
211 int32_t image_index_ = -1;
An abstract base class that provides functionality for the bitmap and metafile descended classes.
Definition: image.h:34
Stores a set of four integers that represent the location and size of a rectangle.
Definition: rectangle.h:25
Stores an ordered pair of integers, which specify a height and width.
Definition: size.h:25
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition: event_args.h:18
Represents an event.
Definition: event.h:21
Contains xtd::forms::content_alignment enum class.
Contains xtd::forms::control control.
Contains xtd::forms::flat_style enum class.
virtual void on_parent_back_color_changed(const event_args &e)
Raises the control::parent_back_color_changed event.
virtual void on_mouse_up(const mouse_event_args &e)
Raises the control::mouse_up event.
virtual void on_parent_fore_color_changed(const event_args &e)
Raises the control::parent_fore_color_changed event.
virtual void on_font_changed(const event_args &e)
Raises the control::font_changed event.
event< button_base, event_handler > image_changed
Occurs when the value of the image property changes.
Definition: button_base.h:115
virtual void on_resize(const event_args &e)
Raises the control::resize event.
virtual void on_enabled_changed(const event_args &e)
Raises the control::enabled_changed event.
virtual void on_fore_color_changed(const event_args &e)
Raises the control::fore_color_changed event.
virtual void on_mouse_down(const mouse_event_args &e)
Raises the control::mouse_down event.
virtual void on_text_changed(const event_args &e)
Raises the control::text_changed event.
virtual void on_mouse_enter(const event_args &e)
Raises the control::mouse_enter event.
virtual void on_mouse_leave(const event_args &e)
Raises the control::mouse_leave event.
#define forms_export_
Define shared library export.
Definition: forms_export.h:13
Contains xtd::drawing::image class.
Contains xtd::forms::image_list component.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
Contains xtd::forms::text_format_flags enum class.