c# - How to Use Nested ObservableCollections to Fill Data Grid -


i have several observablecollections nested inside of single observablecollection. when try bind datagrid however, shows single column says "count" , has length of each observable collection in each row. there solution this?

edit: xaml binding: itemssource="{binding data}" "data" observablecollection of observablecollections in viewmodel.

you refer 1 of nested observablecollections.

if wanted first 1 instance.

var first = instanceobservable.first();  datagridinstance.itemsource = first; 

Comments