/// <summary> /// Defines a PivotGrid row and set it's name. /// </summary> /// <param name="name">The name</param> public PivotDataSourceRowBuilder Add(string name) { PivotDataSourceRow resource = new PivotDataSourceRow(); resource.Name = name; container.Add(resource); return new PivotDataSourceRowBuilder(resource); }
/// <summary> /// Initializes a new instance of the <see cref="PivotDataSourceRowBuilder"/> class. /// </summary> /// <param name="row">The row</param> public PivotDataSourceRowBuilder(PivotDataSourceRow row) { this.row = row; }