WPF Caliburn Micro ListBox within Datagrid example

Topics: Actions & Coroutines, Getting Started, UI Architecture
Dec 31, 2013 at 8:48 AM
Edited Dec 31, 2013 at 8:52 AM
Hello, new to WPF and was looking at CM MVVM Framework. There seems to be a lack of clear complete examples regarding a ListBox within a DataGrid. The DG is part of a user control with other controls on it. I'm using SQLite as my datasource and therefore need some sort of DAL (I think) as well as this I've based my DG on DataTemplates with 2 columns representing my listboxes. My aim is to populate the parent UControl with a record set. Within my recordset I have sub-records populating my LB items for each row. I also need to be able to add and remove items per row on any given LB. Any examples of what I'm trying to do would be great.

Sorry for the "layman's" mock code above.

PS. I've started building a project in WPF in a win forms way (code behind) and am now realising that I need to go MVVM, so any samples of code I have would be on request.

Regards S

Sample as below...