# OHOS::UICheckBox::OnChangeListener ## **Overview** **Related Modules:** [Graphic](Graphic.md) **Description:** Represents a listener for changes of a check box. This is an inner class of **[UICheckBox](OHOS-UICheckBox.md)**. It contains a callback function to be invoked when the check box state changes. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Public Member Functions

Public Member Function Name

Description

OnChange (UICheckBoxState state)=0

virtual bool 

Called when the state of this check box is switched. This is a virtual function, which needs your implementation.

~OnChangeListener ()

virtual 

A destructor used to delete the OnChangeListener instance.

operator new (size_t size)

void * 

Overrides the new function.

operator delete (void *p)

void 

Overrides the delete function.