PDFView4NET WinForms Edition


SelectedValue Property (PDFListField)
Gets or sets the value of the first selected item in the list.
Syntax
'Declaration
 
Public Property SelectedValue As String
'Usage
 
Dim instance As PDFListField
Dim value As String
 
instance.SelectedValue = value
 
value = instance.SelectedValue
public string SelectedValue {get; set;}

Property Value

A string value specifying the value of the first selected item, null (Nothing in VB.NET) if there is no selected item.
Exceptions
ExceptionDescription
The value does not exist in field's set of values.
Remarks
When setting the selected value, if the value does not exist in the list, an exception is thrown.
Requirements

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

See Also