Exemple #1
0
        /// <summary>
        /// Assigns values from another collection.
        /// </summary>
        /// <param name="source">Collection to assign from.</param>
        public void Assign(SortCollection source)
        {
            Clear();

            foreach (Sort sort in source)
            {
                Add(sort);
            }
        }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DataBand"/> class.
 /// </summary>
 public DataBand()
 {
     bands          = new BandCollection(this);
     sort           = new SortCollection();
     filter         = "";
     columns        = new BandColumns(this);
     idColumn       = "";
     parentIdColumn = "";
     indent         = 37.8f;
     rowCount       = 1;
     SetFlags(Flags.HasSmartTag, true);
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DataBand"/> class.
 /// </summary>
 public DataBand()
 {
     FBands          = new BandCollection(this);
     FSort           = new SortCollection();
     FFilter         = "";
     FColumns        = new BandColumns(this);
     FIdColumn       = "";
     FParentIdColumn = "";
     FIndent         = 37.8f;
     FRowCount       = 1;
     SetFlags(Flags.HasSmartTag, true);
 }