GridLengthConverter gridLengthConverter = new GridLengthConverter(); row.Height = (GridLength)gridLengthConverter.ConvertFrom("*");