ExcelConditionalFormattingInfo
OfficeIMO.Excel
Format-neutral conditional-formatting rule model. Instances returned by a worksheet are editable snapshots and can be applied through ExcelSheet.UpdateConditionalFormattingRule.
Inheritance
- object
- ExcelConditionalFormattingInfo
Usage
Explore 23 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 17
- Method ExcelRangeConditionalFormattingBuilder.AboveAverage
- Method ExcelRangeConditionalFormattingBuilder.Blanks
- Method ExcelRangeConditionalFormattingBuilder.CellIs
- Method ExcelRangeConditionalFormattingBuilder.ColorScale
- Method ExcelRangeConditionalFormattingBuilder.DataBar
- Method ExcelRangeConditionalFormattingBuilder.DuplicateValues
- Method ExcelRangeConditionalFormattingBuilder.Errors
- Method ExcelRangeConditionalFormattingBuilder.Formula
- Method ExcelRangeConditionalFormattingBuilder.IconSet
- Method ExcelRangeConditionalFormattingBuilder.Text
- Method ExcelRangeConditionalFormattingBuilder.TimePeriod
- Method ExcelRangeConditionalFormattingBuilder.TopBottom
- Method ExcelRangeConditionalFormattingBuilder.UniqueValues
- Method ExcelSheet.AddConditionalFormattingRule
- Method ExcelSheet.CloneConditionalFormattingRule
- Method ExcelSheet.GetConditionalFormattingRules
- Method ExcelSheet.SetConditionalFormattingColors
Accepted by parameters 6
Constructors
public ExcelConditionalFormattingInfo() #Inherited Methods
Properties
public ExcelConditionalFormattingSource Source { get; set; } #Gets the SpreadsheetML surface that owns the rule.
public string? ExtensionId { get; internal set; } #Gets the persistent extension rule identifier when the imported rule provides one.
public bool HasPreservedUnknownMarkup { get; internal set; } #Gets whether markup not projected by this model is attached to the rule or its container and will be preserved by lifecycle edits.
public string Range { get; set; } #Gets or sets the A1 range covered by the rule.
public string Type { get; set; } #Gets or sets the OpenXML conditional formatting type.
public string? Operator { get; set; } #Gets or sets the OpenXML conditional formatting operator.
public string? Text { get; set; } #Gets or sets the text payload attached to a text conditional-formatting rule.
public string? TimePeriod { get; set; } #Gets or sets the relative time period attached to a time-period conditional-formatting rule.
public bool StopIfTrue { get; set; } #Gets or sets whether evaluation stops when the rule is true.
public uint? DifferentialFormatId { get; set; } #Gets or sets the differential format id attached to the rule, when present.
public bool IsDirectRgbSolidFillOnlyDifferentialStyle { get; internal set; } #Gets whether the differential format contains only a solid fill with a direct RGB foreground color.
public string? DifferentialFillColorArgb { get; set; } #Gets or sets the resolved ARGB fill color from the rule's differential format, when present.
public string? DifferentialFontColorArgb { get; set; } #Gets or sets the resolved ARGB font color from the rule's differential format, when present.
public bool? DifferentialFontBold { get; set; } #Gets or sets whether the rule's differential format requests bold text, when present.
public bool? DifferentialFontItalic { get; set; } #Gets or sets whether the rule's differential format requests italic text, when present.
public bool? DifferentialFontUnderline { get; set; } #Gets or sets whether the rule's differential format requests underlined text, when present.
public bool? DifferentialFontStrike { get; set; } #Gets or sets whether the rule's differential format requests struck-through text, when present.
public string? DifferentialFontName { get; set; } #Gets or sets the rule's differential format font family, when present.
public OfficeLength? DifferentialFontSize { get; set; } #Gets or sets the rule's physical differential font size, when present. Authored sizes must be between 1 and 409 points.
public ExcelCellBorderInfo? DifferentialBorder { get; set; } #Gets or sets the rule's differential format border, when present.
public IReadOnlyList<string> Formulas { get; set; } #Gets or sets formulas attached to the rule.
public IReadOnlyList<string> ColorScaleColors { get; set; } #Gets or sets ARGB colors attached to a color-scale rule, in rule order. An empty entry in an imported rule represents a theme, indexed, or automatic color that remains preserved unless replaced.
public IReadOnlyList<ExcelConditionalFormatThreshold> ColorScaleThresholds { get; set; } #Gets or sets color-scale thresholds in rule order.
public string? DataBarColor { get; set; } #Gets or sets the ARGB color attached to a data-bar rule.
public IReadOnlyList<ExcelConditionalFormatThreshold> DataBarThresholds { get; set; } #Gets or sets data-bar thresholds in rule order.
public bool DataBarShowValue { get; set; } #Gets or sets whether the data-bar rule displays the underlying cell value.
public uint? DataBarMinimumLength { get; set; } #Gets or sets the minimum data-bar length percentage for Office extension rules.
public uint? DataBarMaximumLength { get; set; } #Gets or sets the maximum data-bar length percentage for Office extension rules.
public bool? DataBarBorder { get; set; } #Gets or sets whether an Office extension data bar has a border.
public bool? DataBarGradient { get; set; } #Gets or sets whether an Office extension data bar uses a gradient fill.
public string? DataBarDirection { get; set; } #Gets or sets the Office extension data-bar direction.
public string? DataBarAxisPosition { get; set; } #Gets or sets the Office extension data-bar axis position.
public bool? DataBarNegativeColorSameAsPositive { get; set; } #Gets or sets whether negative bars reuse the positive fill color.
public bool? DataBarNegativeBorderColorSameAsPositive { get; set; } #Gets or sets whether negative bar borders reuse the positive border color.
public string? DataBarBorderColor { get; set; } #Gets or sets the ARGB data-bar border color.
public string? DataBarNegativeColor { get; set; } #Gets or sets the ARGB negative data-bar fill color.
public string? DataBarNegativeBorderColor { get; set; } #Gets or sets the ARGB negative data-bar border color.
public string? DataBarAxisColor { get; set; } #Gets or sets the ARGB data-bar axis color.
public string? IconSet { get; set; } #Gets or sets the icon-set name attached to an icon-set rule.
public bool IconSetShowValue { get; set; } #Gets or sets whether the icon-set rule displays the underlying cell value.
public bool IconSetReverse { get; set; } #Gets or sets whether the icon-set rule reverses icon order.
public bool? IconSetPercent { get; set; } #Gets or sets whether an Office extension icon set interprets thresholds as percentages.
public bool? IconSetCustom { get; set; } #Gets or sets whether an Office extension icon set uses explicit custom icons.
public IReadOnlyList<ExcelConditionalIconSetThreshold> IconSetThresholds { get; set; } #Gets or sets icon-set thresholds in rule order.
public IReadOnlyList<ExcelConditionalFormatIcon> CustomIcons { get; set; } #Gets or sets custom icon references in rule order.
public uint? TopBottomRank { get; set; } #Gets or sets the top/bottom rule rank, when present.
public bool TopBottomBottom { get; set; } #Gets or sets whether the top/bottom rule selects bottom values.
public bool TopBottomPercent { get; set; } #Gets or sets whether the top/bottom rule rank is a percentage.
public bool AboveAverageAbove { get; set; } #Gets or sets whether the above-average rule selects values above the average.
public bool AboveAverageEqual { get; set; } #Gets or sets whether the above-average rule includes values equal to the average.
public int? AboveAverageStdDev { get; set; } #Gets or sets the standard-deviation threshold for above-average rules, when present.