Customizing / overriding ComboBox (2 replies)

Posted on .NET 247 See other posts from .NET 247
Published on 18 Feb 2010 12:08:03 Indexed on 2010/03/07 23:55 UTC
Read the original article Hit count: 289

Filed under:
Hi, I would override a Windows.Forms.Combobox to have a MyObjectCollection instead of a ObjectCollection as Items property. I've try writing this code, but it seems that items are stored somewhere else (not in Items property). I can add items to collection but when I try to select an item from the combobox (at runtime) an exception tells me that there is no such element in Items (litterally it tel...

© .NET 247 or respective owner