This is a migrated thread and some comments may be shown as answers.

ObservableCollection in Enumerable data

0 Answers 33 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Rama
Top achievements
Rank 1
Rama asked on 16 Nov 2012, 07:27 PM

Hello,

I have view model that is creating an enumerable object and in that object i have observableCollection object. So i am using the enumerable object as itemsSource to a report. I am using ItemsSource.MoveNext() method and getting the current item. How can i access the observableCollection from the current item and enumerate thru it? Here is an example:
 
Report.ItemsSource = DataVal;

In another form:
 
While(ItemsSource.MoveNext())
 
{
      ItemsSource.Current
     Need to iterate thru this Current to get the Observable collection. How to do that?
}
 
//DataVal is the enumertor and it has number of int and string fields and then it also has an observable collection.
 
How do i access the observable collection field and iterate thru it.
 
Thanks.

No answers yet. Maybe you can help?

Tags
DataForm
Asked by
Rama
Top achievements
Rank 1
Share this question
or