views:

260

answers:

0

Hi.

I want to set the sorting of a WPF DataGridTemlpateColumn to a property of one of the child members in the row.

For instance, the DataGrid's ItemsSource is an Array of computers, each of them has a screen, each screen has a button. I want the sorting should be {Binding Screen.Button.Name}.

How do I do that?