Skip to content

Commit 11386d0

Browse files
ES-976509 - Resolved the ReadMe file issue
1 parent 68c4c3f commit 11386d0

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

DataGridLoadedWithList.png

12.1 KB
Loading

README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
# How to bind the list of string to WPF DataGrid(SfDataGrid)?
2-
3-
## About the sample
1+
# How to Bind the List of String to WPF DataGrid?
42

53
This sample illustrates how to bind the list of string to [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid).
64

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).
86

97
```c#
108
public class ViewModel
@@ -46,7 +44,4 @@ public class ViewModel
4644
</Grid>
4745
```
4846

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+
![DataGrid bound with List](DataGridLoadedWithList.png)

0 commit comments

Comments
 (0)