If there is no CheckBox element, this property returns -1. Setting the property to -1 removes the CheckBox element.
Setting this property value greater than the number of children does not throw an exception. In this case, the maximum valid value (Children.Count) is used instead (e.g. CheckBoxIndex = 1000).