FastReport
39 строк · 1.1 Кб
1using System;2using System.Collections;3using System.Collections.Generic;4using System.ComponentModel;5using FastReport.Utils;6
7namespace FastReport8{
9/// <summary>10/// Holds the list of objects of <see cref="PageBase"/> type.11/// </summary>12public class PageCollection : FRCollectionBase13{14/// <summary>15/// Gets or sets the element at the specified index.16/// </summary>17/// <param name="index">Index of an element.</param>18/// <returns>The element at the specified index.</returns>19public PageBase this[int index]20{21get { return List[index] as PageBase; }22set { List[index] = value; }23}24
25/// <summary>26/// Initializes a new instance of the <see cref="PageCollection"/> class with default settings.27/// </summary>28public PageCollection() : this(null)29{30}31
32/// <summary>33/// Initializes a new instance of the <see cref="PageCollection"/> class with specified owner.34/// </summary>35public PageCollection(Base owner) : base(owner)36{37}38}39}