Row Properties in DataGrid (WPF Toolkit)

Aug 4, 2009 at 9:20 AM

Hi there,

in the WPF Datagrid then content is bound to a specific Class which implements the different properties for the datagrid items.

If i want to change those data i can do it this way:

MyDatagrid.Rows(i).MyProperty = "testing"


But how can i edit the regular Properties of a Common DataGridRow like Background, IsSelected State, Tag Information an so on?

Aug 4, 2009 at 9:53 AM

I don't recall the exact function name, but there is a function GetContainerFromItem() or something like that, which should be helpful in your scenario.