FastReport

Форк
0
/
PageCollection.cs 
39 строк · 1.1 Кб
1
using System;
2
using System.Collections;
3
using System.Collections.Generic;
4
using System.ComponentModel;
5
using FastReport.Utils;
6

7
namespace FastReport
8
{
9
    /// <summary>
10
    /// Holds the list of objects of <see cref="PageBase"/> type.
11
    /// </summary>
12
    public class PageCollection : FRCollectionBase
13
    {
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>
19
        public PageBase this[int index]
20
        {
21
            get { return List[index] as PageBase; }
22
            set { List[index] = value; }
23
        }
24

25
        /// <summary>
26
        /// Initializes a new instance of the <see cref="PageCollection"/> class with default settings.
27
        /// </summary>
28
        public PageCollection() : this(null)
29
        {
30
        }
31

32
        /// <summary>
33
        /// Initializes a new instance of the <see cref="PageCollection"/> class with specified owner.
34
        /// </summary>
35
        public PageCollection(Base owner) : base(owner)
36
        {
37
        }
38
    }
39
}

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.