xtd 1.0.0
Loading...
Searching...
No Matches
items_added_event_args.hpp
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/array>
6#include <xtd/event_args>
7#include <xtd//usize>
8
10namespace xtd {
12 namespace forms {
14 namespace layout {
15 template<typename item_t>
18 public:
20
27
29
33 [[nodiscard]] auto index() const noexcept -> xtd::usize {return index_;}
34
37 [[nodiscard]] auto items() const noexcept -> const xtd::array<item_t>& {return items_;}
39
40 private:
41 xtd::usize index_;
42 xtd::array<item_t> items_;
43 };
44 }
45 }
46}
Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the ba...
Definition array.hpp:64
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.hpp:18
auto items() const noexcept -> const xtd::array< item_t > &
Gets the items added.
Definition items_added_event_args.hpp:37
auto index() const noexcept -> xtd::usize
Gets the items added index.
Definition items_added_event_args.hpp:33
items_added_event_args(xtd::usize index, const xtd::array< item_t > &items)
Definition items_added_event_args.hpp:25
std::size_t usize
Represents an unsigned size of any object in bytes.
Definition usize.hpp:22
The xtd::forms::layout namespace contains classes for implementing layout behaviors in your form or c...
Definition arranged_element_collection.hpp:25
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition texts.hpp:219
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8