WPF Toolkit Datagrid - Show String Rows

I have a WPFToolkit DataGrid control. The user should be able to toggle the row information for individual rows. Parts can be opened for multiple lines at the same time.

To show or hide row information, the user must check or uncheck the box in the first column of the grid.

How can I show the grid or hide the row data using the checkbox column?

+2


source to share


1 answer


Two ways:



  • Just add a trigger on the IsChecked property of the checkbox and then set the visibility of the row information property to the IsChecked property
  • just bind IsChecked to Detail row visibility property
+2


source







All Articles