10980 : Changing all row heights when one row is changing


I tried to use the OnRowResize event to change all rows while one was changing. The grid starts to flicker and behave weird when doing this…


To solve this we introduced a new event.< ?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />


New event added OnRowResizeDone


Event fires when user has resized a row.

You can implement this event to do other changes that you want as a result of a row height change,

like if you want to change all other Grid rows the same way.


This event is available from


So your code can look like this:


    /// <summary>

    /// This sample show how to detect a user row height change and how to change all the rows

    /// alike after the user has released the mouse button.

    /// </summary>

    void Grid_OnRowResizeDone(Grid aGrid, RowResizeDoneArgs e)


      for (int i = 0; i < aGrid.GridStructure.RootNodes.Count; i++)


        aGrid.GridStructure.RootNodes[i].UserRowHeight = e.GridNode.Rect().Height;




Leave a Reply