How can i access InvalidBorder of the row in Q1 2010 release?
In older release i used to do
void DataGrid_RowLoaded(object sender, RowLoadedEventArgs e)
Rectangle rect = e.Row.ChildrenOfType<Rectangle>()
.Where(c => c.Name == "InvalidBorder")
.First() as Rectangle;
But in Q1 2010 release this statement gives exception
"Expression cannot contain lambda expressions"
exception message says "Sequence contains no elements"