xtd 0.2.0
Loading...
Searching...
No Matches
image_list.h
Go to the documentation of this file.
1
4#pragma once
6#include "component.h"
7#include <xtd/any>
8#include <xtd/iequatable>
9#include <xtd/drawing/image>
10
12namespace xtd {
14 namespace forms {
28 class forms_export_ image_list final : public component, public xtd::iequatable<image_list> {
29 struct data;
30
31 public:
33
38
40
44
45 inline static const size_t npos = image_collection::npos;
47
49
54
57 image_list(const image_list&) = default;
58 image_list& operator =(const image_list&) = default;
60
62
66 intptr handle() const noexcept;
67
70 bool handle_created() const noexcept;
71
79 const image_collection& images() const noexcept;
80
83 const drawing::size image_size() const noexcept;
89 const image_list& image_size(const drawing::size& value);
90
93 std::any tag() const noexcept;
96 image_list& tag(const std::any& tag);
98
100
102 bool equals(const image_list& value) const noexcept override;
104
105 private:
106 std::shared_ptr<data> data_;
107 };
108 }
109}
Contains xtd::forms::layout::arranged_element_collection collection.
Provides the base implementation and enables object sharing between applications.
Definition component.h:23
Provides methods to manage a collection of xtd::drawing::image objects. This class cannot be inherite...
Definition image_list.h:28
image_list()
Initialize a new instance ao image_list class.
intptr handle() const noexcept
Gets the handle of the image list object.
static image_list empty
Represents an image_list empty.
Definition image_list.h:43
Provides images factories for use by control.
Definition images.h:21
Represents a collection of objects.
Definition arranged_element_collection.h:32
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.h:18
Contains xtd::forms::component class.
#define forms_export_
Define shared library export.
Definition forms_export.h:13
size_t size
Represents a size of any object in bytes.
Definition types.h:197
intmax_t intptr
Represent a pointer or a handle.
Definition types.h:153
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10