In the ProjectEdit user control in the new ProjectTracker example, the CollectionViewSource named "projectGetterViewSource" has no source defined for it. On page 102 of the e-book, it states that "the first resource will contain the root viewmodel for the view." Here is the xaml line in question:
<CollectionViewSource x:Key="projectGetterViewSource"/>
At what point is the source for this collection view source specified to be the ProjectGetter viewmodel? Is it hooked up in some other way at run-time?
It is hooked up via Bxf. See the section in the ebook that discusses how Bxf works, and specifically how it creates and initializes the view.
Duh...I just didn't put the two together in my mind (what I was looking at in the XAML and the BXF's ShowView method). Thanks.
Copyright (c) Marimer LLC