Click here to Skip to main content
15,509,982 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How should XAML look like If I want to add as many rows as much objects there are in ObservableCollection ?

How am I supposed to do that ?

What I have tried:

I am not sure how to define

1 solution

Use a DataGrid or ListView, and bind the collection to the ItemsSource property.

Keep in mind that WPF performance degrades with large collections. This can be addressed, but you'll have to google for the solution to that, because it's a big topic. You may be able to find an article on CP that discusses it.
Share this answer
Member 13568484 19-Feb-18 2:37am    
thanks a lot

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900