/// <summary> /// Adds the elements of another StyleCellCollection to the end of this StyleCellCollection. /// </summary> /// <param name="items"> /// The StyleCellCollection whose elements are to be added to the end of this StyleCellCollection. /// </param> public virtual void AddRange(StyleCellCollection items) { foreach (StyleCell item in items) { this.List.Add(item); } }
public Enumerator(StyleCellCollection collection) { this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator(); }
/// <summary> /// Initializes a new instance of the StyleCellCollection class, containing elements /// copied from another instance of StyleCellCollection /// </summary> /// <param name="items"> /// The StyleCellCollection whose elements are to be added to the new StyleCellCollection. /// </param> public StyleCellCollection(StyleCellCollection items) { this.AddRange(items); }