/// <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); } }
/// <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); }
/// <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); }