c# - Binding two collections with a common parameter -
I would like to display the content of two differents ObservableCollection in the same grid. They have a parameter in common (an ID) and I want to add this collection to two IDs. I think I should use a multi-bond, but how can I say that I want to "link" ID?
If I'm not enough, just tell me.
Thanks,
M.
No multi-binding help in this case
If one If you have a relation then you can add the property in the first class of the second class, which returns the right object and gives it access to the other object in binding, such as
{ Binding class.propby .name} Another way I can do this now is to see, make a druppier class. Wraps both the one who is, and who are the new collectibles collection makes property including stored collection
Hope this helps
Comments
Post a Comment