Skip to content

Commit c134255

Browse files
ES-976509 - Resolved the ReadMe issue in the sample repository
1 parent 86d9d77 commit c134255

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

README.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# How to add icon on specific row header of WPF DataGrid(SfDataGrid)?
1+
# How to Add Icon on Specific Row Header of WPF DataGrid?
22

3-
## About the sample
3+
This sample illustrated that how to add icon on specific row header of [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid).
44

5-
This sample illustrated that how to add icon on specific row header of [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid).
5+
The `DataGrid` does not provide the direct support to add an image in RowHeader cells. But you can add an image in the RowHeader cell by customizing the [Syncfusion:GridRowHeaderCell](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.GridRowHeaderCell.html).
66

7-
The [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid) does not provide the direct support to add an image in RowHeader cells. But you can add an image in the RowHeader cell by customizing the [Syncfusion:GridRowHeaderCell](https://help.syncfusion.com/cr/cref_files/wpf/Syncfusion.SfGrid.WPF~Syncfusion.UI.Xaml.Grid.GridRowHeaderCell.html).
7+
#### XAML
88

9-
```xaml
9+
```xml
1010
<Window.Resources>
1111
<local:RowHeaderConverter x:Key="rowHeaderConverter"/>
1212
<Style TargetType="syncfusion:GridRowHeaderCell">
@@ -27,6 +27,8 @@ The [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataG
2727
</Window.Resources>
2828
```
2929

30+
#### C#
31+
3032
```C#
3133
foreach(var record in datagrid.View.Records)
3234
{
@@ -38,9 +40,4 @@ foreach(var record in datagrid.View.Records)
3840
}
3941
}
4042
```
41-
![IconForRowHeader](IconForRowHeader.png)
42-
43-
KB article - [How to add icon on specific row header of WPF DataGrid(SfDataGrid)?](https://www.syncfusion.com/kb/11769/how-to-add-icon-on-specific-row-header-of-wpf-datagrid-sfdatagrid)
44-
45-
## Requirements to run the demo
46-
Visual Studio 2015 and above versions
43+
![DataGrid with icon added to the specifc row header](RowHeaderWithIcon.png)

0 commit comments

Comments
 (0)