Search Results for

    Show / Hide Table of Contents

    Class FRCollectionBase

    Represents a collection of FastReport base objects.

    Inheritance
    System.Object
    System.Collections.CollectionBase
    FRCollectionBase
    BandCollection
    ColumnCollection
    CommandParameterCollection
    ConnectionCollection
    CubeSourceCollection
    DataSourceCollection
    ParameterCollection
    RelationCollection
    TableCollection
    TotalCollection
    DialogComponentCollection
    GridControlColumnCollection
    LayerCollection
    ShapeCollection
    SeriesCollection
    ObjectCollection
    PageCollection
    ReportComponentCollection
    TableColumnCollection
    TableRowCollection
    Namespace: FastReport.Utils
    Assembly: FastReport.Base.dll
    Syntax
    public class FRCollectionBase : CollectionBase, IList, ICollection, IEnumerable

    Constructors

    FRCollectionBase()

    Initializes a new instance of the FRCollectionBase class with default settings.

    Declaration
    public FRCollectionBase()

    FRCollectionBase(Base)

    Initializes a new instance of the FRCollectionBase class with specified owner.

    Declaration
    public FRCollectionBase(Base owner)
    Parameters
    Type Name Description
    Base owner

    The owner of this collection.

    Properties

    Owner

    Gets an owner of this collection.

    Declaration
    public Base Owner { get; }
    Property Value
    Type Description
    Base

    Methods

    Add(Base)

    Adds an object to the end of this collection.

    Declaration
    public int Add(Base value)
    Parameters
    Type Name Description
    Base value

    Object to add.

    Returns
    Type Description
    System.Int32

    Index of the added object.

    AddRange(Base[])

    Adds the specified elements to the end of this collection.

    Declaration
    public void AddRange(Base[] range)
    Parameters
    Type Name Description
    Base[] range

    Range of elements.

    AddRange(ObjectCollection)

    Adds the specified elements to the end of this collection.

    Declaration
    public void AddRange(ObjectCollection range)
    Parameters
    Type Name Description
    ObjectCollection range

    Collection of elements.

    Contains(Base)

    Determines whether an element is in the collection.

    Declaration
    public bool Contains(Base value)
    Parameters
    Type Name Description
    Base value

    The object to locate in the collection.

    Returns
    Type Description
    System.Boolean

    true if object is found in the collection; otherwise, false.

    CopyTo(FRCollectionBase)

    Copies the content to another collection.

    Declaration
    public void CopyTo(FRCollectionBase list)
    Parameters
    Type Name Description
    FRCollectionBase list

    The collection to copy to.

    Equals(FRCollectionBase)

    Determines whether two collections are equal.

    Declaration
    public bool Equals(FRCollectionBase list)
    Parameters
    Type Name Description
    FRCollectionBase list

    The collection to compare with.

    Returns
    Type Description
    System.Boolean

    true if collections are equal; false otherwise.

    IndexOf(Base)

    Returns the zero-based index of the first occurrence of an object.

    Declaration
    public int IndexOf(Base value)
    Parameters
    Type Name Description
    Base value

    The object to locate in the collection.

    Returns
    Type Description
    System.Int32

    The zero-based index of the first occurrence of value within the entire collection, if found; otherwise, -1.

    Insert(Int32, Base)

    Inserts an object into this collection at the specified index.

    Declaration
    public void Insert(int index, Base value)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index at which value should be inserted.

    Base value

    The object to insert.

    OnClear()

    Declaration
    protected override void OnClear()
    Overrides
    System.Collections.CollectionBase.OnClear()

    OnInsert(Int32, Object)

    Declaration
    protected override void OnInsert(int index, object value)
    Parameters
    Type Name Description
    System.Int32 index
    System.Object value
    Overrides
    System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)

    OnRemove(Int32, Object)

    Declaration
    protected override void OnRemove(int index, object value)
    Parameters
    Type Name Description
    System.Int32 index
    System.Object value
    Overrides
    System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)

    Remove(Base)

    Removes the specified object from the collection.

    Declaration
    public void Remove(Base value)
    Parameters
    Type Name Description
    Base value

    Object to remove.

    ToArray()

    Returns an array of collection items.

    Declaration
    public object[] ToArray()
    Returns
    Type Description
    System.Object[]
    Back to top © 1998-2025 Copyright Fast Reports Inc.