Gets or sets the top index.
Syntax
'Declaration
Public Property TopIndex As Integer
'Usage
Dim instance As ListBox
Dim value As Integer
instance.TopIndex = value
value = instance.TopIndex
public int TopIndex {get; set;}
public: __property int get_TopIndex();
public: __property void set_TopIndex(
int value
);
public:
property int TopIndex {
int get();
void set ( int value);
}
Property Value
For scrollable listboxes, the first option visible in the list. If an exception occurs,
-1 is returned.
See Also