GemBox.Spreadsheet
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    ConditionalObjectCollection Class

    Namespace:
    GemBox.Spreadsheet.ConditionalFormatting
    Assembly:
    GemBox.Spreadsheet.dll

    Represents a base class for a collections of ConditionalObjects used in conditional formatting.

    • C#
    • VB.NET
    public abstract class ConditionalObjectCollection : IEnumerable
    Public MustInherit Class ConditionalObjectCollection
        Implements IEnumerable
    Inheritance:
    System.Object
    ConditionalObjectCollection
    Derived
    ConditionalObjectCollection<T>
    Implements
    System.Collections.IEnumerable

    Properties

    Count

    Gets the number of conditional objects contained in the ConditionalObjectCollection.

    • C#
    • VB.NET
    public int Count { get; }
    Public ReadOnly Property Count As Integer
    Property Value
    System.Int32

    The number of conditional objects contained in the ConditionalObjectCollection.

    Item[Int32]

    Gets the conditional object at the specified index.

    • C#
    • VB.NET
    public ConditionalObject this[int index] { get; }
    Public ReadOnly Property Item(index As Integer) As ConditionalObject
    Parameters
    index
    System.Int32

    The zero-based index of the conditional object to get.

    Property Value
    ConditionalObject

    The conditional object at the specified index.

    Exceptions
    System.ArgumentOutOfRangeException

    index is less than 0 or is equal to or greater than Count.

    Methods

    GetEnumerator()

    Returns an enumerator that iterates through the ConditionalObjectCollection.

    • C#
    • VB.NET
    public IEnumerator<ConditionalObject> GetEnumerator()
    Public Function GetEnumerator As IEnumerator(Of ConditionalObject)
    Returns
    System.Collections.Generic.IEnumerator<ConditionalObject>

    An enumerator that can be used to iterate through the ConditionalObjectCollection.

    Implements

    System.Collections.IEnumerable
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.