+1  A: 

Your code seems to work fine (I tried on Silverlight non-Winphone, but should be the same).

My guess is that the cause is somewhere else, for ex. another element covering the uiBoard grid, or the buttons being transparent with no background color/border.

Francesco De Vittori
+1  A: 

After some experimentation, it looks like GridLength isn't calculating heights in pixels correctly.
Because the grid cell created isn't large enough the control is not shown.

Try increasing the sizes used for grid length. I did the following and got some output.

rd.Height = new GridLength(40);

Alternatively, consider setting the Heights and Widths to by dynamically sized. e.g.:

rd.Height = new GridLength(1, GridUnitType.Auto);

If you can investigate this height issue some more and also find it to be a height issue bug then please submit it to Microsoft.

Matt Lacey
Thanks ! got your point
Miloud B.