This project is read-only.


Binding doesn't work from menu item click


Try to add this to your sample project, then click File->Save; values are NOT propagated to underlying model
<Menu Grid.Column="0" Grid.Row="0" >
            <MenuItem Header="File">
                <MenuItem Header="Save"  Click="btnNewItem_Click" />
Closed Jun 27, 2012 at 11:46 PM by athoma13
This was not an issue


athoma13 wrote Jun 27, 2012 at 11:46 PM

This is not an issue. btnNewItem_Click is already hooked up to the the button, and does what it does. I.e. Create a new item and add it to the collection. The textboxes at the top are bound to the order-level properties and have nothing to do with the items in the grid.

The grid is editable and modifying items in the Grid will affect your totals.

I will add labels to the TextBoxes to make that clearer.

wrote Jun 27, 2012 at 11:46 PM

wrote Feb 13, 2013 at 6:10 PM

wrote May 15, 2013 at 4:29 AM