[]
        
(Showing Draft Content)

FarPoint.Web.Spread.TwoColorScaleConditionalFormattingRule

TwoColorScaleConditionalFormattingRule Class

Represents the two color scale conditional formatting rule.

Inheritance
TwoColorScaleConditionalFormattingRule
Namespace: FarPoint.Web.Spread
Assembly: FarPoint.Web.Spread.dll
Syntax
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

Constructors

Properties

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.

Methods

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.