Class ConditionalFormattingRuleCollection
Inheritance
System.Object
ConditionalFormattingRuleCollection
Assembly: DRIT.Spreadsheet.dll
public class ConditionalFormattingRuleCollection : IEnumerable<ConditionalFormattingRule>
Properties
Declaration
public ConditionalFormattingRule this[int index] { get; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
Methods
Declaration
public void Add(ConditionalFormattingRule item)
Parameters
Declaration
public AboveAverageFormattingRule AddAboveAverage(bool aboveAverage)
Parameters
Type |
Name |
Description |
System.Boolean |
aboveAverage |
|
Returns
Declaration
public CellIsFormattingRule AddCellValue(ConditionalFormattingOperator conditionalFormattingOperator, params double[] values)
Parameters
Returns
Declaration
public DataBarFormattingRule AddDataBar(SpreadsheetColor color)
Parameters
Returns
Declaration
public DatesOccurringFormattingRule AddDatesOccurring(TimePeriod timePeriod)
Parameters
Returns
Declaration
public DuplicateValuesFormattingRule AddDuplicateValues()
Returns
Declaration
public ExpressionFormattingRule AddExpression()
Returns
Declaration
public ExpressionFormattingRule AddExpression(string formula1)
Parameters
Type |
Name |
Description |
System.String |
formula1 |
|
Returns
Declaration
public IconSetFormattingRule AddIconSet(IconSetType type)
Parameters
Returns
AddSpecificText(SpecificTextFormattingRuleType, String)
Declaration
public SpecificTextFormattingRule AddSpecificText(SpecificTextFormattingRuleType textOperator, string value)
Parameters
Returns
Declaration
public ThreeColorScaleFormattingRule AddThreeColorScale(SpreadsheetColor minColor, SpreadsheetColor midColor, SpreadsheetColor maxColor)
Parameters
Returns
Declaration
public DatesOccurringFormattingRule AddTimePeriod()
Returns
Declaration
public Top10FormattingRule AddTop10(int rank)
Parameters
Type |
Name |
Description |
System.Int32 |
rank |
|
Returns
Declaration
public TwoColorScaleFormattingRule AddTwoColorScale(SpreadsheetColor minColor, SpreadsheetColor maxColor)
Parameters
Returns
Declaration
public UniqueValuesFormattingRule AddUniqueValues()
Returns
Declaration
public IEnumerator<ConditionalFormattingRule> GetEnumerator()
Returns