I'm using the stimulsoft checkedlistbox control on a form, and I'd like to include functionality to check all rows with one click, which would use code something like:
for(int i = 0; i < MyComboListBox.Control.Items.Count; i++)
{
MyComboListBox.Control.Items.Checked = true;
}
However, none of the properties or functions I would use to set the checked property in a baseline System.Windows.Forms.CheckedListBox (.Checked, .SetItemChecked() etc.) seem to be implemented in the stimulsoft version. Would anyone know if there's an equivalent available?
StiCheckedListBoxControl - how to set "checked" property?
StiCheckedListBoxControl - how to set "checked" property?
Isn't it always the way, struggled with this for a day and then as soon as I posted I figured it out myself!
Working code:
for(int i = 0; i < MyCheckedListBox.Control.Items.Count; i++)
{
MyCheckedListBox.Control.SetItemChecked(i, true);
}
Working code:
for(int i = 0; i < MyCheckedListBox.Control.Items.Count; i++)
{
MyCheckedListBox.Control.SetItemChecked(i, true);
}
StiCheckedListBoxControl - how to set "checked" property?
Hello,
Let us know if you need any additional help.
Thank you.
Let us know if you need any additional help.
Thank you.