Provides data for the item_check event of the checked_list_box and list_view controls.
- Header
#include <xtd/forms/item_check_event_args>
- Namespace
- xtd::forms
- Library
- xtd.forms
|
| check_state | current_value () const noexcept |
| | Gets a value indicating the current state of the item's check box.
|
| |
| size_t | index () const noexcept |
| | Gets the zero-based index of the item to change.
|
| |
| check_state | new_value () const noexcept |
| | Gets a value indicating whether to set the check box for the item to be checked, unchecked, or indeterminate.
|
| |
| void | new_value (check_state new_value) |
| | Gets a value indicating whether to set the check box for the item to be checked, unchecked, or indeterminate.
|
| |
|
| 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 bool | equals (const object &obj) const noexcept |
| | Determines whether the specified object is equal to the current object.
|
| |
| virtual xtd::size | get_hash_code () const noexcept |
| | Serves as a hash function for a particular type.
|
| |
| virtual type_object | get_type () const noexcept |
| | Gets the type of the current instance.
|
| |
| template<class object_t> |
| xtd::unique_ptr_object< object_t > | memberwise_clone () const |
| | Creates a shallow copy of the current object.
|
| |
| virtual xtd::string | to_string () const noexcept |
| | Returns a xtd::string that represents the current object.
|
| |
| template<class object_a_t, class object_b_t> |
| static bool | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
| | Determines whether the specified object instances are considered equal.
|
| |
| template<class object_a_t, class object_b_t> |
| static bool | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
| | Determines whether the specified object instances are the same instance.
|
| |
◆ item_check_event_args()
| xtd::forms::item_check_event_args::item_check_event_args |
( |
size_t | index, |
|
|
check_state | new_value, |
|
|
check_state | current_value ) |
|
inline |
Initializes a new instance of the item_check_event_args class.
- Parameters
-
| 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. |
◆ current_value()
| check_state xtd::forms::item_check_event_args::current_value |
( |
| ) |
const |
|
inlinenoexcept |
Gets a value indicating the current state of the item's check box.
- Returns
- One of the check_state values.
◆ index()
| size_t xtd::forms::item_check_event_args::index |
( |
| ) |
const |
|
inlinenoexcept |
Gets the zero-based index of the item to change.
- Returns
- The zero-based index of the item to change.
◆ new_value() [1/2]
| check_state xtd::forms::item_check_event_args::new_value |
( |
| ) |
const |
|
inlinenoexcept |
Gets a value indicating whether to set the check box for the item to be checked, unchecked, or indeterminate.
- Returns
- One of the check_state values.
◆ new_value() [2/2]
| void xtd::forms::item_check_event_args::new_value |
( |
check_state | new_value | ) |
|
|
inline |
Gets a value indicating whether to set the check box for the item to be checked, unchecked, or indeterminate.
- Parameters
-
The documentation for this class was generated from the following file: