[]
Represents the two color scale conditional formatting rule.
public class TwoColorScaleConditionalFormattingRule : PrePaintConditionalFormattingRule, ICanSerializeXml, ISerializeSupport, ISerializable, IPrePaintConditionalFormattingRule, IExcelExporter, IConditionalFormattingDataRule, IExpressionConsumer, IFilterSupportConditionalFormattingRule, IConditionalFormattingRule, INotifyPropertyChanged, ICloneable
Public Class TwoColorScaleConditionalFormattingRule
Inherits PrePaintConditionalFormattingRule
Implements ICanSerializeXml, ISerializeSupport, ISerializable, IPrePaintConditionalFormattingRule, IExcelExporter, IConditionalFormattingDataRule, IExpressionConsumer, IFilterSupportConditionalFormattingRule, IConditionalFormattingRule, INotifyPropertyChanged, ICloneable
| Name | Description |
|---|---|
| TwoColorScaleConditionalFormattingRule() | Initializes a new instance of the TwoColorScaleConditionalFormattingRule class. |
| TwoColorScaleConditionalFormattingRule(ConditionalFormattingColorValue, ConditionalFormattingColorValue) | Initializes a new instance of the TwoColorScaleConditionalFormattingRule class. |
| TwoColorScaleConditionalFormattingRule(Color, Color) | Initializes a new instance of the TwoColorScaleConditionalFormattingRule class. |
| TwoColorScaleConditionalFormattingRule(SerializationInfo, StreamingContext) | Initializes a new instance of the TwoColorScaleConditionalFormattingRule class from serialization. |
| Name | Description |
|---|---|
| MaxValue | Gets the maximum value. Note: The maximum value only accepts the ConditionalFormattingColorValue object which has a Type property value of Max, Number, Percent, Formula, or Pecentile. |
| MinValue | Gets or sets the minimum value. Note: The minimum value only accepts the ConditionalFormattingColorValue object which has a Type property value of Min, Number, Percent, Formula, or Pecentile. |
| Name | Description |
|---|---|
| DeserializeEntry(SerializationEntry) | |
| Execute(int, int, object) | Executes the conditional format rule to change the cell's style. |
| GetColor(object) | Gets the color to use for the specified value. |
| GetObjectData(SerializationInfo, StreamingContext) | Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object. |