ICheckBox



Describes minimum required functionality from CheckBox control.

You can find more information in comments below. Overrided methods can be found in corresponding base interface.

class ICheckBox :public virtual IControl
{
public:
    enum class CheckedState // Checked states 
    {
        Unchecked, // Unchecked 
        Grayed, // Both checked and unchecked 
        Checked // Checked 
    };
public:
    virtual String getCaption() = 0; // Return caption 
    virtual CheckedState getChecked() = 0; // Return checked state 

    virtual bool setCaption(const String &value) = 0; // Set caption 
    virtual bool setChecked(const CheckedState value) = 0; // Set checked state 
};
Namespace: nitisa::standard
Include: Standard/Controls/ICheckBox.h