PDFView4NET WinForms Edition
SelectedItem Property




O2S.Components.PDFView4NET.Forms Namespace > PDFListField Class : SelectedItem Property
Gets or sets the first selected item in the list.
Syntax
'Declaration
 
Public Property SelectedItem As PDFListItem
'Usage
 
Dim instance As PDFListField
Dim value As PDFListItem
 
instance.SelectedItem = value
 
value = instance.SelectedItem
public PDFListItem SelectedItem {get; set;}
public: __property PDFListItem* get_SelectedItem();
public: __property void set_SelectedItem( 
   PDFListItem* value
);
public:
property PDFListItem^ SelectedItem {
   PDFListItem^ get();
   void set (    PDFListItem^ value);
}

Property Value

A PDFListItem object specifying the first selected item.
Exceptions
ExceptionDescription
The item does not exist in the list.
Remarks
null (Nothing in VB.NET) means that no item is selected.
If the item 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

PDFListField Class
PDFListField Members