TreeView for WinForms | ComponentOne
C1.Win.TreeView Namespace / C1CheckList Class / SelectedIndex Property

In This Topic
    SelectedIndex Property (C1CheckList)
    In This Topic
    Gets or sets the index of the currently selected item in the list. A zero-based index of the currently selected item. A value of negative one (-1) is returned if no item is selected. When SelectionMode is Single then only one item remains selected.
    Syntax
    'Declaration
     
    
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
    <BrowsableAttribute(False)>
    Public Property SelectedIndex As Integer
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    [Browsable(false)]
    public int SelectedIndex {get; set;}
    See Also