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
     
    
    <BrowsableAttribute(False)>
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
    Public Property SelectedIndex As Integer
    [Browsable(false)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    public int SelectedIndex {get; set;}
    See Also