PDFView4NET WPF Edition
SelectedValue Property (PDFRadioButtonListField)




O2S.Components.PDFView4NET.Forms Namespace > PDFRadioButtonListField Class : SelectedValue Property
Gets or sets the value of the selected radio button item .
Syntax
'Declaration
 
Public Property SelectedValue As String
'Usage
 
Dim instance As PDFRadioButtonListField
Dim value As String
 
instance.SelectedValue = value
 
value = instance.SelectedValue
public string SelectedValue {get; set;}
public: __property string* get_SelectedValue();
public: __property void set_SelectedValue( 
   string* value
);
public:
property String^ SelectedValue {
   String^ get();
   void set (    String^ value);
}

Property Value

A string value specifying the value of the selected item.
Exceptions
ExceptionDescription
The value does not exist in field's set of values.
Remarks
null (Nothing in VB.NET) or "Off" means that no radio button item is selected.
When setting the selected value, if the value does not exist in the list, an exception is thrown.
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

PDFRadioButtonListField Class
PDFRadioButtonListField Members