menu

ASP.NET Web Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CondFormatCollectionWrapper

    Show / Hide Table of Contents

    Class CondFormatCollectionWrapper

    Wrapper over conditional format collection for range.

    Inheritance
    System.Object
    CommonWrapper
    CondFormatCollectionWrapper
    Implements
    ICloneParent
    IConditionalFormats
    System.Collections.IEnumerable
    IParentApplication
    IOptimizedUpdate
    Inherited Members
    CommonWrapper.Clone(Object)
    CommonWrapper.BeginCallsCount
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.XlsIO.Implementation.Collections
    Assembly: Syncfusion.XlsIO.Base.dll
    Syntax
    public class CondFormatCollectionWrapper : CommonWrapper, ICloneParent, IConditionalFormats, IEnumerable, IParentApplication, IOptimizedUpdate

    Constructors

    CondFormatCollectionWrapper(ICombinedRange)

    Creates wrapper for the specified range object.

    Declaration
    public CondFormatCollectionWrapper(ICombinedRange range)
    Parameters
    Type Name Description
    ICombinedRange range

    Range to wrap conditional formats for.

    Properties

    Application

    Application object for this object.

    Declaration
    public IApplication Application { get; }
    Property Value
    Type Description
    IApplication

    Count

    Returns number of elements in the collection. Read-only.

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    System.Int32

    Item[Int32]

    Returns single element from the collection. Read-only.

    Declaration
    public IConditionalFormat this[int index] { get; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type Description
    IConditionalFormat

    Parent

    Parent object for this object.

    Declaration
    public object Parent { get; }
    Property Value
    Type Description
    System.Object

    Methods

    AddCondition()

    Adds new condition to the collection.

    Declaration
    public IConditionalFormat AddCondition()
    Returns
    Type Description
    IConditionalFormat

    Newly added condition.

    BeginUpdate()

    This method should be called before several updates to the object will take place.

    Declaration
    public override void BeginUpdate()
    Overrides
    CommonWrapper.BeginUpdate()

    EndUpdate()

    This method should be called after several updates to the object.

    Declaration
    public override void EndUpdate()
    Overrides
    CommonWrapper.EndUpdate()

    GetCondition(Int32)

    Returns unwrapped condition.

    Declaration
    public ConditionalFormatImpl GetCondition(int iCondition)
    Parameters
    Type Name Description
    System.Int32 iCondition

    Condition index.

    Returns
    Type Description
    ConditionalFormatImpl

    Unwrapped condition.

    GetEnumerator()

    Returns an enumerator that can iterate through a collection.

    Declaration
    public IEnumerator GetEnumerator()
    Returns
    Type Description
    System.Collections.IEnumerator

    An enumerator that can iterate through a collection

    Remove()

    Removes the Condtional Format at the specified range

    Declaration
    public void Remove()

    RemoveAt(Int32)

    Removes the Condtional Format at the Specified Index

    Declaration
    public void RemoveAt(int index)
    Parameters
    Type Name Description
    System.Int32 index

    Implements

    ICloneParent
    IConditionalFormats
    System.Collections.IEnumerable
    IParentApplication
    IOptimizedUpdate
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved