Class CondFormatCollectionWrapper
Wrapper over conditional format collection for range.
Implements
Inherited Members
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 |
---|
IApplication |
Count
Returns number of elements in the collection. Read-only.
Declaration
public int Count { get; }
Property Value
Type |
---|
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 |
---|
IConditionalFormat |
Parent
Parent object for this object.
Declaration
public object Parent { get; }
Property Value
Type |
---|
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
EndUpdate()
This method should be called after several updates to the object.
Declaration
public override void EndUpdate()
Overrides
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 |