Ejemplo n.º 1
0
 /// <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)));
 }
 /// <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, CultureInfo.InvariantCulture).Select(x => new RowDefinition(x)));
 }