From fbb64c0813471c005a3b97f7f0d2f17eafb6ea44 Mon Sep 17 00:00:00 2001 From: Malini-SF4235 <153497178+Malini-SF4235@users.noreply.github.com> Date: Mon, 18 Aug 2025 22:02:44 +0530 Subject: [PATCH 1/2] Update README.md --- README.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 41262d0..d82d6f9 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # How-to-Select-All-the-Rows-Using-RowHeaderIndentCell-in-the-DataGrid -In a [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid){target="_blank"}, the default behavior does not allow for the selection of all rows when the `RowHeaderIndentCell` is clicked. However, you can implement this functionality by handling the `MouseUp` event. This event can be used to select all rows programmatically by accessing the row and column indices. - -**C#** +In a [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid), the default behavior does not allow for the selection of all rows when the `RowHeaderIndentCell` is clicked. However, you can implement this functionality by handling the `MouseUp` event. This event can be used to select all rows programmatically by accessing the row and column indices. ```csharp public MainWindow() @@ -28,13 +26,12 @@ private void DataGrid_MouseUp(object sender, MouseButtonEventArgs e) } ``` -**Output** ![image.png](https://support.boldbi.com/kb/agent/attachment/article/16526/inline?token=eyJhbGciOiJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGRzaWctbW9yZSNobWFjLXNoYTI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjI0OTk0Iiwib3JnaWQiOiIzIiwiaXNzIjoic3VwcG9ydC5ib2xkYmkuY29tIn0.Ae22-Z4LU0KuB5SuGY92QTxYOFFkCfDdoRdwZ_kJ2oo) **Conclusion** ​I hope you enjoyed learning on how to select all the rows using the RowHeaderIndentCell(SfDataGrid). -You can refer to our [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid){target="_blank"} Control feature tour page to know about its other groundbreaking feature representations and [documentation](https://help.syncfusion.com/wpf/datagrid/getting-started){target="_blank"}, and how to quickly get started for configuration specifications. -For current customers, you can check out our components from the [License and Downloads](https://www.syncfusion.com/sales/teamlicense){target="_blank"} page. If you are new to Syncfusion, you can try our [30-day free](https://www.syncfusion.com/account/manage-trials/downloads){target="_blank"} trial to check out our other controls. +You can refer to our [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) Control feature tour page to know about its other groundbreaking feature representations and [documentation](https://help.syncfusion.com/wpf/datagrid/getting-started), and how to quickly get started for configuration specifications. +For current customers, you can check out our components from the [License and Downloads](https://www.syncfusion.com/sales/teamlicense) page. If you are new to Syncfusion, you can try our [30-day free](https://www.syncfusion.com/account/manage-trials/downloads) trial to check out our other controls. -If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our [support forums](https://www.syncfusion.com/forums){target="_blank"},[ Direct-Trac](https://support.syncfusion.com/create){target="_blank"}, or [feedback portal](https://www.syncfusion.com/feedback/wpf?control=sfdatagrid){target="_blank"}. We are always happy to assist you! +If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our [support forums](https://www.syncfusion.com/forums),[ Direct-Trac](https://support.syncfusion.com/create), or [feedback portal](https://www.syncfusion.com/feedback/wpf?control=sfdatagrid). We are always happy to assist you! From 7fe8ad742ca3279314641645e7e81443db61c294 Mon Sep 17 00:00:00 2001 From: Malini-SF4235 <153497178+Malini-SF4235@users.noreply.github.com> Date: Thu, 18 Sep 2025 11:59:41 +0530 Subject: [PATCH 2/2] Update README.md --- README.md | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index d82d6f9..16a465b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -# How-to-Select-All-the-Rows-Using-RowHeaderIndentCell-in-the-DataGrid -In a [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid), the default behavior does not allow for the selection of all rows when the `RowHeaderIndentCell` is clicked. However, you can implement this functionality by handling the `MouseUp` event. This event can be used to select all rows programmatically by accessing the row and column indices. +# How to select rows in a WPF DataGrid using RowHeaderIndentCell? +In a [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid), the default behavior does not allow for the selection of all rows when the `RowHeaderIndentCell` is clicked. However, you can implement this functionality by handling the `MouseUp` event. This event can be used to select all rows programmatically by accessing the row and column indices. ```csharp public MainWindow() @@ -27,11 +27,3 @@ private void DataGrid_MouseUp(object sender, MouseButtonEventArgs e) ``` ![image.png](https://support.boldbi.com/kb/agent/attachment/article/16526/inline?token=eyJhbGciOiJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGRzaWctbW9yZSNobWFjLXNoYTI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjI0OTk0Iiwib3JnaWQiOiIzIiwiaXNzIjoic3VwcG9ydC5ib2xkYmkuY29tIn0.Ae22-Z4LU0KuB5SuGY92QTxYOFFkCfDdoRdwZ_kJ2oo) - -**Conclusion** - -​I hope you enjoyed learning on how to select all the rows using the RowHeaderIndentCell(SfDataGrid). -You can refer to our [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) Control feature tour page to know about its other groundbreaking feature representations and [documentation](https://help.syncfusion.com/wpf/datagrid/getting-started), and how to quickly get started for configuration specifications. -For current customers, you can check out our components from the [License and Downloads](https://www.syncfusion.com/sales/teamlicense) page. If you are new to Syncfusion, you can try our [30-day free](https://www.syncfusion.com/account/manage-trials/downloads) trial to check out our other controls. - -If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our [support forums](https://www.syncfusion.com/forums),[ Direct-Trac](https://support.syncfusion.com/create), or [feedback portal](https://www.syncfusion.com/feedback/wpf?control=sfdatagrid). We are always happy to assist you!