I have a program that used ListBox component and when i try to set -1 to 
SelectedIndex property  i get exception : 

<<System.ArgumentException: '-1' is not a valid value for 'Value'. 'Value' 
should be between 'Minimum' and 'Maximum' >>

On Microsoft implementation of ListBox, it deselect current selected item and I 
think that this is the proper behavior because i don't have a way to remove 
selection in the ListBox.

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to