Spread Windows Forms 12.0 Product Documentation
TwoColorScaleConditionalFormattingRule Constructor(ConditionalFormattingColorValue,ConditionalFormattingColorValue,Boolean)


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > TwoColorScaleConditionalFormattingRule Class > TwoColorScaleConditionalFormattingRule Constructor : TwoColorScaleConditionalFormattingRule Constructor(ConditionalFormattingColorValue,ConditionalFormattingColorValue,Boolean)
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.
true Indicates that the expression, referred to by a custom name, will not be restricted; otherwise, false
Initializes a new instance of the TwoColorScaleConditionalFormattingRule class.
Syntax
'Declaration
 
Public Function New( _
   ByVal minValue As ConditionalFormattingColorValue, _
   ByVal maxValue As ConditionalFormattingColorValue, _
   ByVal suppressCustomName As Boolean _
)
'Usage
 
Dim minValue As ConditionalFormattingColorValue
Dim maxValue As ConditionalFormattingColorValue
Dim suppressCustomName As Boolean
 
Dim instance As New TwoColorScaleConditionalFormattingRule(minValue, maxValue, suppressCustomName)
public TwoColorScaleConditionalFormattingRule( 
   ConditionalFormattingColorValue minValue,
   ConditionalFormattingColorValue maxValue,
   bool suppressCustomName
)

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.
suppressCustomName
true Indicates that the expression, referred to by a custom name, will not be restricted; otherwise, false
See Also

Reference

TwoColorScaleConditionalFormattingRule Class
TwoColorScaleConditionalFormattingRule Members
Overload List