Skip to content

Commit f9f3c48

Browse files
authored
Merge pull request #4 from SyncfusionExamples/ES-976509
ES-976509 - Resolved the ReadMe file issue
2 parents 68c4c3f + dc2256c commit f9f3c48

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

DataGridLoadedWithList.png

12.1 KB
Loading

README.md

Lines changed: 4 additions & 9 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)?
1+
# How to Bind the List of String to WPF DataGrid?
22

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

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