Message.Attach to method on nested property

Feb 3, 2011 at 9:00 PM

I don't think the following is supported...


            ItemsSource="{Binding DataGridViewModel.Items, Mode=TwoWay}"
            cal:Message.Attach="[Event RowEditEnded] = [Action DataGridViewModel.OnRowEditEnded($eventargs)]">

If I could I would create a DataGridViewModel/DataGridView pair and let Caliburn.Micro resolve the view through a content control. But I can't do that until I am able to fully model DataGrid control settings such as Columns from the DataGridViewModel.

Any suggestions?


Feb 3, 2011 at 9:13 PM


<Controls:GridView cal:Action.Target="{Binding DataGridViewModel}"       
            ItemsSource="{Binding Items, Mode=TwoWay}"
            cal:Message.Attach="[Event RowEditEnded] = [Action OnRowEditEnded($eventargs)]">
Feb 3, 2011 at 9:20 PM

I was just about to figure that out ;)