troubleshooting Question

C# WPF Datagrid

Avatar of mcs26
mcs26 asked on
.NET ProgrammingC#Microsoft Development
1 Comment1 Solution814 ViewsLast Modified:

I have a WPF application that contains a datagrid. The datagrid is binded to my object "OrderList" (please see the code block below).

I need to know when a user deletes a row in the datagrid. I then intend to move this deleted row to my other List "OrderListFailed" which is bound to a different datagrid.

As always any help would be great.


public class OrderBlock
        public string BlockID { get; set; }
        public int NumFails { get; set; }
        public List<Orders> OrderList { get; set; }
        public List<Orders> OrderListFailed { get; set; }

    public class Orders
        public bool Failed { get; set; }
        public string Name { get; set; }
        public string ID { get; set; }
        public string Side { get; set; }
        public double Amount { get; set; }
        public bool GoodOrder { get; set; }
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 1 Comment.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros