Skip to content

Commit 26389c7

Browse files
authored
Merge pull request #2 from SyncfusionExamples/Malini-SF4235-patch-1
Update README.md
2 parents c961bf4 + 7fe8ad7 commit 26389c7

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

README.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
# How-to-Select-All-the-Rows-Using-RowHeaderIndentCell-in-the-DataGrid
2-
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.
3-
4-
**C#**
1+
# How to select rows in a WPF DataGrid using RowHeaderIndentCell?
2+
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.
53

64
```csharp
75
public MainWindow()
@@ -28,13 +26,4 @@ private void DataGrid_MouseUp(object sender, MouseButtonEventArgs e)
2826
}
2927
```
3028

31-
**Output**
3229
![image.png](https://support.boldbi.com/kb/agent/attachment/article/16526/inline?token=eyJhbGciOiJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGRzaWctbW9yZSNobWFjLXNoYTI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjI0OTk0Iiwib3JnaWQiOiIzIiwiaXNzIjoic3VwcG9ydC5ib2xkYmkuY29tIn0.Ae22-Z4LU0KuB5SuGY92QTxYOFFkCfDdoRdwZ_kJ2oo)
33-
34-
**Conclusion**
35-
36-
​I hope you enjoyed learning on how to select all the rows using the RowHeaderIndentCell(SfDataGrid).
37-
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.
38-
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.
39-
40-
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!

0 commit comments

Comments
 (0)