/// <summary> /// Initializes a new instance of the <see cref="RowDefinitions"/> class. /// </summary> /// <param name="s">A string representation of the row definitions.</param> public RowDefinitions(string s) : this() { AddRange(GridLength.ParseLengths(s).Select(x => new RowDefinition(x))); }