locked
bind two observable collections RRS feed

  • Question

  • HI
      i have two Observable collections one for items to be dragged from a list box and one for items dropped into a list box
      public  ObservableCollection<DataItem>    DropItems;
      public   ObservableCollection<DataItem>   DragItems;

    They both are bound to the ItemsSource of seperate ListBoxs  which   have a shared data template defined. This Data  which contains a text box, so before dragging if the user types something in the text box it should be reflected in the text box to be dropped on to the 2nd List box.
    I have got the drag and drop working fine
    but I just want to be able to bind these to collections.
    Can some one  please suggest a way
    Friday, August 21, 2009 9:48 PM

Answers