Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
795
binding xamgrid to ObservableDictionary
posted

I have several grids that are bound to large collections of objects that change frequently either from a background updater thread or by an edit in the xamgrid. For performance, and simplicity, I would like to use something like an ObservableDictionary<int, MyObject> to store the data where the key is a unique lookup value and the value is the object itself.

I can't figure out how to bind xamgrid to this type of data structure.  Obviously, I can make an ObservableCollection<MyObject> off the dictionary Values but this is problematic in that to add update items you have to manually sync bptj the observablecollection and the dictionary.

Anyone else ever wanted to this.