csharp wpf row definition height * in code

Code Example - csharp wpf row definition height * in code

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