This project is read-only.

BXF and the CollectionViewSource

Apr 5, 2011 at 8:15 PM

I would like to understand how BXF ties together the Model to the CollectionViewSource found in the View's resources.

Could someone give me an explaination and point out where this happens in the code.



Apr 5, 2011 at 8:56 PM

Bxf doesn't really do this.

Bxf ties the viewmodel to the CollectionViewSource in the View's resources. The view binds to the viewmodel.

If the viewmodel exposes the model through a property (and I often do this if the model is created using model objects created with CSLA .NET), then the view can bind to the model using that property.

Bxf ties the viewmodel to the CVS in the default Shell class implementation in the InitializeBindingResource method.