Ejemplo n.º 1
0
        /// <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);
        }
Ejemplo n.º 2
0
 /// <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;
 }