xtd - Reference Guide  0.1.0
Modern c++17 framework to create console, gui and unit test applications on Windows, macOS and Linux.
xtd::forms::item_check_event_args Class Reference

Provides data for the item_check event of the checked_list_box and list_view controls. More...

#include <item_check_event_args.h>

Inheritance diagram for xtd::forms::item_check_event_args:
xtd::event_args

Public Member Functions

 item_check_event_args (size_t index, check_state new_value, check_state current_value)
 Initializes a new instance of the item_check_event_args class. More...
 
check_state current_value () const
 Gets a value indicating the current state of the item's check box. More...
 
size_t index () const
 Gets the zero-based index of the item to change. More...
 
check_state new_value () const
 Gets a value indicating whether to set the check box for the item to be checked, unchecked, or indeterminate. More...
 
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. More...
 

Static Public Attributes

static const event_args empty
 Provides a value to use with events that do not have event data. More...
 

Detailed Description

Provides data for the item_check event of the checked_list_box and list_view controls.

Remarks
The item_check event occurs when the checked state of an item in a checked list box changes. The item_check_event_args class specifies the index of the item to change, the current value of the check box for the item, and the new value to set for the check box.

The documentation for this class was generated from the following file: