Reputation: 2617
This is my second time working with Windows Presentation Foundation.
Here is what I have. First, I am storing a JSON List<Tuple<int,date>> object in a variable, which I will probably need to break down more into maybe a string to display the data in the XAML. The display should have a column for the int values and a column for the corresponding date values.
The problem
I am having difficulty figuring out what type of control to use to display the data, such as a listview, textbox, etc. What would be the best option for displaying the data?
The Control would eventually need a scroll bar because I will be joining this JSON array object with more of the same type, just with adjacent columns.
Let me know if this is unclear, or more information is needed.
Upvotes: 0
Views: 1335
Reputation: 48558
You should go for DataGrid
as there are Rows and Column in it and a collection can directly be provided as its datasource.
Upvotes: 1