PDFView4NET WinForms Edition


SelectedIndex Property (PDFListField)
Gets or sets the lowest ordinal index of the selected items in the list.
Syntax
'Declaration
 
Public Property SelectedIndex As Integer
'Usage
 
Dim instance As PDFListField
Dim value As Integer
 
instance.SelectedIndex = value
 
value = instance.SelectedIndex
public int SelectedIndex {get; set;}

Property Value

The lowest ordinal index of the selected items in the list. The default is -1, which indicates that nothing is selected.
Remarks
Use this property to determine the index of the currently selected item in the list if the list control allows only one selection.
Requirements

Target Platforms: Windows 7, Windows 10, Windows 11, Windows Server 2022, Windows Server 2025

See Also