Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NComboBox Class / SelectedIndex Property


In This Topic
    SelectedIndex Property (NComboBox)
    In This Topic
    Gets or sets the selected index. To deselect the currently selected item, set the SelectedIndex to -1.
    Syntax
    'Declaration
     
    
    Public Property SelectedIndex As System.Integer
    'Usage
     
    
    Dim instance As NComboBox
    Dim value As System.Integer
     
    instance.SelectedIndex = value
     
    value = instance.SelectedIndex
    public System.int SelectedIndex {get; set;}
    Exceptions
    ExceptionDescription
    The specified index is less than or equal to -2 or greater than or equal to the number of items in the combo box.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also