How to Bind Two Lists to Two Columns of Wpf DataGrid?
Posted
by BSalita
on Stack Overflow
See other posts from Stack Overflow
or by BSalita
Published on 2010-05-25T20:15:17Z
Indexed on
2010/05/25
20:21 UTC
Read the original article
Hit count: 241
I want to bind two lists to two columns of a Wpf DataGrid. How is this done in Xaml?
Class MainWindow
Public Property Column1 As List(Of Integer) = New List(Of Integer) From {1, 2, 3}
Public Property Column2 As List(Of Integer) = New List(Of Integer) From {4, 5, 6}
End Class
© Stack Overflow or respective owner