#include <item_check_event_args.h>
Provides data for the item_check event of the checked_list_box and list_view controls.
- Namespace
- xtd::forms
- Library
- xtd.forms
Inherits xtd::event_args.
|
static const event_args | empty |
| Provides a value to use with events that do not have event data. More...
|
|
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...
|
|
◆ 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 |
|
inline |
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 |
|
inline |
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 |
|
inline |
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
-
new_value | One of the check_state values. |
The documentation for this class was generated from the following file: