Skip to content

Commit 7fe8ad7

Browse files
Update README.md
1 parent fbb64c0 commit 7fe8ad7

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +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), 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.
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.
33

44
```csharp
55
public MainWindow()
@@ -27,11 +27,3 @@ private void DataGrid_MouseUp(object sender, MouseButtonEventArgs e)
2727
```
2828

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

0 commit comments

Comments
 (0)