Search Results for

    Show / Hide Table of Contents

    Class ConditionCollection

    Represents a collection of highlight conditions used in the Highlight property of the TextObject.

    Inheritance
    System.Object
    System.Collections.CollectionBase
    ConditionCollection
    Implements
    IFRSerializable
    Namespace: FastReport
    Assembly: FastReport.Base.dll
    Syntax
    public class ConditionCollection : CollectionBase, IList, ICollection, IEnumerable, IFRSerializable

    Properties

    Item[Int32]

    Gets or sets the element at the specified index.

    Declaration
    public HighlightCondition this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index

    Index of an element.

    Property Value
    Type Description
    HighlightCondition

    The element at the specified index.

    Methods

    Add(HighlightCondition)

    Adds an object to the end of this collection.

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

    Object to add.

    Returns
    Type Description
    System.Int32

    Index of the added object.

    AddRange(HighlightCondition[])

    Adds the specified elements to the end of this collection.

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

    Array of elements to add.

    Assign(ConditionCollection)

    Copies conditions from another collection.

    Declaration
    public void Assign(ConditionCollection collection)
    Parameters
    Type Name Description
    ConditionCollection collection

    Collection to copy from.

    Contains(HighlightCondition)

    Determines whether an element is in the collection.

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

    The object to locate in the collection.

    Returns
    Type Description
    System.Boolean

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

    Deserialize(FRReader)

    Deserializes the object.

    Declaration
    public void Deserialize(FRReader reader)
    Parameters
    Type Name Description
    FRReader reader

    Reader object.

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    IndexOf(HighlightCondition)

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

    Declaration
    public int IndexOf(HighlightCondition value)
    Parameters
    Type Name Description
    HighlightCondition 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, HighlightCondition)

    Inserts an object into this collection at the specified index.

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

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

    HighlightCondition value

    The object to insert.

    Remove(HighlightCondition)

    Removes the specified object from the collection.

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

    Object to remove.

    Serialize(FRWriter)

    Serializes the object.

    Declaration
    public void Serialize(FRWriter writer)
    Parameters
    Type Name Description
    FRWriter writer

    Writer object.

    Implements

    IFRSerializable
    Back to top © 1998-2025 Copyright Fast Reports Inc.