Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / TwoColorScaleConditionalFormattingRule Class / TwoColorScaleConditionalFormattingRule Constructor / TwoColorScaleConditionalFormattingRule Constructor(ConditionalFormattingColorValue,ConditionalFormattingColorValue)
The minimum value. Note: The minimum value only accepts the ConditionalFormattingColorValue object which has a Type value of Min, Number, Percent, Formula, or Pecentile.
The maximum value. Note: The maximum value only accepts the ConditionalFormattingColorValue object which has a Type value of Max, Number, Percent, Formula, or Pecentile.
Example


In This Topic
    TwoColorScaleConditionalFormattingRule Constructor(ConditionalFormattingColorValue,ConditionalFormattingColorValue)
    In This Topic
    Initializes a new instance of the TwoColorScaleConditionalFormattingRule class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal minValue As ConditionalFormattingColorValue, _
       ByVal maxValue As ConditionalFormattingColorValue _
    )
    'Usage
     
    
    Dim minValue As ConditionalFormattingColorValue
    Dim maxValue As ConditionalFormattingColorValue
     
    Dim instance As New TwoColorScaleConditionalFormattingRule(minValue, maxValue)
    public TwoColorScaleConditionalFormattingRule( 
       ConditionalFormattingColorValue minValue,
       ConditionalFormattingColorValue maxValue
    )

    Parameters

    minValue
    The minimum value. Note: The minimum value only accepts the ConditionalFormattingColorValue object which has a Type value of Min, Number, Percent, Formula, or Pecentile.
    maxValue
    The maximum value. Note: The maximum value only accepts the ConditionalFormattingColorValue object which has a Type value of Max, Number, Percent, Formula, or Pecentile.
    Example
    This example creates a two color scale rule.
    See Also