Search code examples
c#wpfeventsdata-bindingbindinglist

About ListChange Event Behaviour


I have List name OrderList which contain object of Order type and Order Contain another List OrderDetailList of OrderDetail type now OrderList subscribe to ListChange event and it works fine as long as i change Order property but if i change OrderdetailList which eventually property of Order class event is not fairing, did it has to work like that or am i doing something wrong?


Solution

  • If you really, really want the same event firing for both lists attach the handler to both of them. What your seeing is the expected behavior.