From e3c8fafdc919b9a09c66b59e984e6f867663cfaf Mon Sep 17 00:00:00 2001 From: Backia Raj Kanagaraj Date: Mon, 8 Mar 2021 17:54:42 +0530 Subject: [PATCH 1/2] Modified the DataGrid reference link --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6a3fb5d..264c39d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # How to change row background based on RowState when underlying source is DataTable in wpf datagrid? -This example illustrates how to change row background based on RowState when underlying source is DataTable in wpf datagrid + +This example illustrates how to change row background based on RowState when underlying source is DataTable in [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid). + +You can change the row background based on [RowState.Modified](https://docs.microsoft.com/es-es/dotnet/api/system.data.datarowstate?view=netframework-4.7.2#fields) when binding [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid) to [DataTable](https://docs.microsoft.com/en-us/dotnet/api/system.data.datatable?view=netframework-4.7.2) using style for initial loading. You can also change the background for runtime changes using the [DataTable.RowChanged](https://docs.microsoft.com/ru-ru/dotnet/api/system.data.datatable.rowchanged?view=netframework-4.7.2) event. From 4b9e960d52543440ac57cb64a7cc562f515f8247 Mon Sep 17 00:00:00 2001 From: Backia Raj Kanagaraj Date: Mon, 15 Mar 2021 12:14:54 +0530 Subject: [PATCH 2/2] Modified the content --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 264c39d..6b03d5e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# How to change row background based on RowState when underlying source is DataTable in wpf datagrid? +# How to change row background based on RowState when underlying source is DataTable in WPF DataGrid (SfDataGrid)? This example illustrates how to change row background based on RowState when underlying source is DataTable in [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid).