Quantcast
Channel: Caliburn.Micro: Xaml Made Easy
Viewing all articles
Browse latest Browse all 1760

New Post: How do I solve binding multiple views to a ObservableCollection?

$
0
0
Hi

I have a situation where I have a normal property of type ObservableCollection<SpecificViewType> on a Control I wish to bind to with CM.

It is a 3rd party lib and although I have the source code, I would prefer not to change anything.

I cannot get multiple view to be added to that collection by using CM. Is it possible or should that property be a DependencyProperty for that (I think so)?

So I did some coding to get around it but now, CM has lost its 'grip' and none of the CM features work inside those views I added to the collection.

Is there any way to register the view back in CM so it'll start working again?
Or to have items added to that view collection?

Thanx,
Marc

Viewing all articles
Browse latest Browse all 1760

Trending Articles