You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-9Lines changed: 4 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,8 @@
1
-
# How to bind the list of string to WPF DataGrid(SfDataGrid)?
1
+
# How to Bind the List of String to WPF DataGrid?
2
2
3
-
## About the sample
3
+
This sample illustrates how to bind the list of string to [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid).
4
4
5
-
This sample illustrates how to bind the list of string to [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid).
6
-
7
-
[WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid) is bound to a collection with a class type. You can bind a list of string as an ItemsSource of SfDataGrid can be achieved by using [GridTemplateColumn](https://help.syncfusion.com/cr/cref_files/xamarin/Syncfusion.SfDataGrid.XForms~Syncfusion.SfDataGrid.XForms.GridTemplateColumn.html).
5
+
`DataGrid` is bound to a collection with a class type. You can bind a list of string as an ItemsSource of `DataGrid` can be achieved by using [GridTemplateColumn](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.GridTemplateColumn.html).
8
6
9
7
```c#
10
8
publicclassViewModel
@@ -46,7 +44,4 @@ public class ViewModel
46
44
</Grid>
47
45
```
48
46
49
-
KB article - [How to bind the list of string to WPF DataGrid(SfDataGrid)?](https://www.syncfusion.com/kb/11357/how-to-bind-the-list-of-string-to-wpf-datagrid-sfdatagrid)
50
-
51
-
## Requirements to run the demo
52
-
Visual Studio 2015 and above versions
47
+

0 commit comments