Provides data for the item_check event of the checked_list_box and list_view controls.
Public Constructors | |
| item_check_event_args (xtd::usize index, xtd::forms::check_state new_value, xtd::forms::check_state current_value) | |
| Initializes a new instance of the item_check_event_args class. | |
Public Properties | |
| auto | current_value () const noexcept -> xtd::forms::check_state |
| Gets a value indicating the current state of the item's check box. | |
| auto | index () const noexcept -> xtd::usize |
| Gets the zero-based index of the item to change. | |
| auto | new_value () const noexcept -> xtd::forms::check_state |
| Gets a value indicating whether to set the check box for the item to be checked, unchecked, or indeterminate. | |
| auto | new_value (xtd::forms::check_state value) -> item_check_event_args & |
| Gets a value indicating whether to set the check box for the item to be checked, unchecked, or indeterminate. | |
Additional Inherited Members | |
| static const event_args | empty |
| Provides a value to use with events that do not have event data. | |
| 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 auto | equals (const object &obj) const noexcept -> bool |
| Determines whether the specified object is equal to the current object. | |
| virtual auto | get_hash_code () const noexcept -> xtd::usize |
| Serves as a hash function for a particular type. | |
| virtual auto | get_type () const noexcept -> type_object |
| Gets the type of the current instance. | |
| template<typename object_t> | |
| auto | memberwise_clone () const -> xtd::unique_ptr_object< object_t > |
| Creates a shallow copy of the current object. | |
| virtual auto | to_string () const -> xtd::string |
| Returns a xtd::string that represents the current object. | |
| template<typename object_a_t, typename object_b_t> | |
| static auto | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept -> bool |
| Determines whether the specified object instances are considered equal. | |
| template<typename object_a_t, typename object_b_t> | |
| static auto | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept -> bool |
| Determines whether the specified object instances are the same instance. | |
|
inline |
Initializes a new instance of the item_check_event_args class.
| index | The zero-based index of the item to change. |
| new_value | One of the check_state values that indicates whether to change the check box for the item to be checked, unchecked, or indeterminate. |
| current_value | One of the check_state values that indicates whether the check box for the item is currently checked, unchecked, or indeterminate. |
|
inlinenodiscardnoexcept |
Gets a value indicating the current state of the item's check box.
|
inlinenodiscardnoexcept |
Gets the zero-based index of the item to change.
|
inlinenodiscardnoexcept |
Gets a value indicating whether to set the check box for the item to be checked, unchecked, or indeterminate.
|
inline |
Gets a value indicating whether to set the check box for the item to be checked, unchecked, or indeterminate.
| value | One of the check_state values. |