using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using FastReport.Utils; namespace FastReport { /// /// Represents a collection of bands. /// public class BandCollection : FRCollectionBase { /// /// Gets or sets the element at the specified index. /// /// Index of an element. /// The element at the specified index. public BandBase this[int index] { get { return List[index] as BandBase; } set { List[index] = value; } } /// /// Initializes a new instance of the class with default settings. /// public BandCollection() : this(null) { } /// /// Initializes a new instance of the class with specified owner. /// /// Owner that owns this collection. public BandCollection(Base owner) : base(owner) { } } }