tag:blogger.com,1999:blog-4045671445828312434.post2763968205180729548..comments2024-03-25T15:11:30.341+05:30Comments on Born to Automate : Working with WPF DataGrid - Part 4Prajeesh Prathaphttp://www.blogger.com/profile/10973885615112785714noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-4045671445828312434.post-77064046938038654822010-04-26T13:35:30.507+05:302010-04-26T13:35:30.507+05:30Very nice work-through, however I get an error whe...Very nice work-through, however I get an error when adding the <br />protected override void InsertItem(int index, ContextUI item)<br /> {<br /> base.InsertItem(index, item);<br /> item.ItemEndEdit += new ContextUI.ItemEndEditEventHandler((x) =><br /> {<br /><br /> if (ItemEndEdit != null)<br /><br /> ItemEndEdit(x);<br /><br /> });<br /> }<br /><br />code to the ObservableCollection class, the complier says that "the name ItemEndEdit does not exist in the current context". Since I no nothing about lambda expressions I can't figure out what is wrong. Can you help?Anonymousnoreply@blogger.com