Aspose::Cells::Drawing::ActiveXControls::ToggleButtonActiveXControl::SetIsTripleState method

ToggleButtonActiveXControl::SetIsTripleState method

Indicates how the specified control will display Null values.

void Aspose::Cells::Drawing::ActiveXControls::ToggleButtonActiveXControl::SetIsTripleState(bool value)
SettingDescription
TrueThe control will cycle through states for Yes, No, and Null values. The control appears dimmed (grayed) when its Value property is set to Null.
False(Default) The control will cycle through states for Yes and No values. Null values display as if they were No values.

Examples

if (activeXControl.IsTripleState() == true)
{
    activeXControl.SetIsTripleState(false);
}

See Also