Last Updated: February 25, 2016
·
2.486K
· danny_thorpe

Databinding Collections in WPF: IList required

If your data is in an IEnumerable (such as data returned by a yield function), IList< T >, or Dictionary< K,V >, your data will not appear in WPF data bindings. WPF collection data binding looks for the IList interface in the data collection which is not commonly implemented in newer IList< T > based collections.

List< T >, Collection< T >, and ObservableCollection< T > all implement IList, and work well with WPF data binding.

For more info, read: http://dannythorpe.com/2011/06/09/databinding-collection-properties/