Exemplo n.º 1
0
        /// <summary>
        /// Defines a PivotGrid column and set it's name.
        /// </summary>
        /// <param name="name">The name</param>
        public PivotDataSourceColumnBuilder Add(string name)
        {
            PivotDataSourceColumn resource = new PivotDataSourceColumn();
            resource.Name = name;
            container.Add(resource);

            return new PivotDataSourceColumnBuilder(resource);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PivotDataSourceColumnBuilder"/> class.
 /// </summary>
 /// <param name="column">The column</param>
 public PivotDataSourceColumnBuilder(PivotDataSourceColumn column)
 {
     this.column = column;
 }