PDFView4NET WinForms Edition
SelectedIndex Property (PDFListField)




O2S.Components.PDFView4NET.Forms Namespace > PDFListField Class : SelectedIndex Property
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;}
public: __property int get_SelectedIndex();
public: __property void set_SelectedIndex( 
   int value
);
public:
property int SelectedIndex {
   int get();
   void set (    int value);
}

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 Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFListField Class
PDFListField Members