Input for WinForms | ComponentOne
C1.Framework Namespace / ExpandButtonElement Class / CheckBoxIndex Property

In This Topic
    CheckBoxIndex Property (ExpandButtonElement)
    In This Topic
    Gets or sets the index of the CheckBox element within the button.
    Syntax
    'Declaration
     
    
    Public Property CheckBoxIndex As Integer
    public int CheckBoxIndex {get; set;}
    Remarks

    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).

    See Also