Provides methods to manage a collection of xtd::drawing::image objects. This class cannot be inherited.
Alias | |
| using | image_collection = layout::arranged_element_collection< drawing::image > |
| Encapsulates the collection of xtd::drawing::image objects in an image_list. More... | |
Fields | |
| static image_list | empty |
| Represents an image_list empty. More... | |
| static const size_t | npos = image_collection::npos |
Constructors | |
| image_list () | |
| Initialize a new instance ao image_list class. More... | |
Properties | |
| intptr | handle () const noexcept |
| Gets the handle of the image list object. More... | |
| bool | handle_created () const noexcept |
| Gets a value indicating whether the underlying Win32 handle has been created. More... | |
| image_collection & | images () |
| Gets the xtd::forms::image_list::image_collection for this image list. More... | |
| const image_collection & | images () const noexcept |
| Gets the xtd::forms::image_list::image_collection for this image list. More... | |
| const drawing::size | image_size () const noexcept |
| Gets the size of the images in the image list. More... | |
| const image_list & | image_size (const drawing::size &value) |
| Sets the size of the images in the image list. More... | |
| std::any | tag () const noexcept |
| Gets an object that contains additional data about the image_list. More... | |
| image_list & | tag (const std::any &tag) |
| Sets an object that contains additional data about the image_list. More... | |
Methods | |
| bool | equals (const image_list &value) const noexcept override |
Additional Inherited Members | |
Public Member Functions inherited from xtd::object | |
| object ()=default | |
| Create a new instance of the ultimate base class object. More... | |
| bool | equals (const object &obj) const noexcept |
| Determines whether the specified object is equal to the current object. More... | |
| virtual size_t | get_hash_code () const noexcept |
| Serves as a hash function for a particular type. More... | |
| virtual type_object | get_type () const noexcept |
| Gets the type of the current instance. More... | |
| template<typename object_t > | |
| std::unique_ptr< object_t > | memberwise_clone () const noexcept |
| Creates a shallow copy of the current object. More... | |
| virtual xtd::ustring | to_string () const noexcept |
| Returns a sxd::ustring that represents the current object. More... | |
Public Member Functions inherited from xtd::iequatable< image_list > | |
| virtual bool | equals (const image_list &) const noexcept=0 |
| Indicates whether the current object is equal to another object of the same type. More... | |
Static Public Member Functions inherited from xtd::object | |
| static bool | equals (const object &object_a, const object &object_b) noexcept |
| Determines whether the specified object instances are considered equal. More... | |
| static bool | reference_equals (const object &object_a, const object &object_b) noexcept |
| Determines whether the specified object instances are the same instance. More... | |
Protected Member Functions inherited from xtd::forms::component | |
| component () | |
| Initialises a new instance of the component class. More... | |
| virtual bool | can_raise_events () const noexcept |
| Gets a value indicating whether the component can raise an event. More... | |
| bool | design_mode () const noexcept |
| Gets a value that indicates whether the component is currently in design mode. More... | |
| using xtd::forms::image_list::image_collection = layout::arranged_element_collection<drawing::image> |
Encapsulates the collection of xtd::drawing::image objects in an image_list.
| xtd::forms::image_list::image_list | ( | ) |
Initialize a new instance ao image_list class.
|
noexcept |
Gets the handle of the image list object.
|
noexcept |
Gets a value indicating whether the underlying Win32 handle has been created.
|
noexcept |
Gets the size of the images in the image list.
| const image_list& xtd::forms::image_list::image_size | ( | const drawing::size & | value | ) |
Sets the size of the images in the image list.
| value | The xtd::drawing::size that defines the height and width, in pixels, of the images in the list. The default size is 16 by 16. The maximum size is 256 by 256. |
| image_collection& xtd::forms::image_list::images | ( | ) |
Gets the xtd::forms::image_list::image_collection for this image list.
|
noexcept |
Gets the xtd::forms::image_list::image_collection for this image list.
|
noexcept |
Gets an object that contains additional data about the image_list.
| image_list& xtd::forms::image_list::tag | ( | const std::any & | tag | ) |
Sets an object that contains additional data about the image_list.
| tag | A object that contains additional data about the image_list. |
|
static |
Represents an image_list empty.