Suppose I have a grid with some row definitions, and a child control in that grid. How would I go about setting the Grid.Row property of the child control programatically?
Actually to clear a value you should use this:
textBlock.ClearValue(Grid.RowProperty);