Skip to content

PdfVisualListField.SelectedIndex Property

Gets or sets the lowest ordinal index of the selected items in the list.

C#
public int SelectedIndex { get; set; }

Property Value

Int32

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.