Sunday, November 4, 2018

Overview Of Composite Collection In WPF

Recently in our project, which is based on WPF framework, we wanted to use ItemsControl to list out different types of objects. I couldn’t use general List, ObservableCollection or any other type of collection for that matter to set ItemSource of ItemsControl, since they restrict only one type of object. Thus, I searched on the internet and found out about CompositeCollection. In this article I am going to explain how to use CompositeCollection to list out different types of objects in WPF.

source https://www.c-sharpcorner.com/article/overview-of-composite-collection-in-wpf/

No comments:

Post a Comment