While developing a customer application in Silverlight 4, we find a bug in the standard datagrid control of the framework.
If you have a custom datagrid RowDetailsTemplate and this is opened and closed by a button click, you can see that, when opening the last visible row in your datagrid, the RowDetails remains hidden, or partially hidden because the grid does not scroll automatically down to fully reveal it.
The only work-around I’ve found to avoid this misbehavior is to add the RowDetailsVisibilityChanged event to the grid and do the following:
double _rowheight = 0; private void MyGrid_RowDetailsVisibilityChanged(object sender, DataGridRowDetailsEventArgs e) { if (e.