XFINIUM.PDF Documentation
SelectedIndex Property (PdfListField)



Xfinium.Pdf.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 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

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfListField Class
PdfListField Members