I am making an app that uses a listview. I add ListViewItems to the ListView.Items collection using ListView.Items.Add. Every time I add an item, an exception is thrown and handled within System.Windows.Forms.dll. This is not breaking my application, however it causes a pause when the first exception is thrown.
Is this normal behavior? Or some sort of bug? I am not changing any properties after I instantiate the listview items, so I'm nearly positive that I'm not doing anything wrong. I'm sure that Microsoft does not condone using exceptions as a form of program flow control, however this happens every time I add an item not only causing the pause, but making it nearly impossible to debug when the debugger is set to break on all exceptions.
Is this normal behavior? Or some sort of bug? I am not changing any properties after I instantiate the listview items, so I'm nearly positive that I'm not doing anything wrong. I'm sure that Microsoft does not condone using exceptions as a form of program flow control, however this happens every time I add an item not only causing the pause, but making it nearly impossible to debug when the debugger is set to break on all exceptions.