views:

42

answers:

1

I have started using BindingList(Of T) for my generic collections whenever I need the objects to interface with the GUI instead of List(Of T). This has worked well for me so far but a few of my collections are stored in Dictionary(Of TKey, TValue) and there doesn't appear to be a corresponding BindingDictionary(Of T).

Has anyone else come across the necessity to use this, and how did they achieve it? Should I implement this myself? (How?) or is there a better solution already available?

Cheers

A: 

You should be able to unroll your dictionary into a BindingList(Of KeyValuePair(Of TKey, TValue)) but I'm not sure if it will provide all of the behavior you are trying to achieve.

magnifico