Spread Windows Forms 12.0 Product Documentation
ThreeColorScaleConditionalFormattingRule Constructor(Color,Color,Color,Boolean)


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > ThreeColorScaleConditionalFormattingRule Class > ThreeColorScaleConditionalFormattingRule Constructor : ThreeColorScaleConditionalFormattingRule Constructor(Color,Color,Color,Boolean)
Color of the minimum value.
Color of the middle value.
Color of the maximum value.
true Indicates that the expression, referred to by a custom name, will not be restricted; otherwise, false
Initializes a new instance of the ThreeColorScaleConditionalFormattingRule class.
Syntax
'Declaration
 
Public Function New( _
   ByVal minColor As Color, _
   ByVal midColor As Color, _
   ByVal maxColor As Color, _
   ByVal suppressCustomName As Boolean _
)
'Usage
 
Dim minColor As Color
Dim midColor As Color
Dim maxColor As Color
Dim suppressCustomName As Boolean
 
Dim instance As New ThreeColorScaleConditionalFormattingRule(minColor, midColor, maxColor, suppressCustomName)
public ThreeColorScaleConditionalFormattingRule( 
   Color minColor,
   Color midColor,
   Color maxColor,
   bool suppressCustomName
)

Parameters

minColor
Color of the minimum value.
midColor
Color of the middle value.
maxColor
Color of the maximum value.
suppressCustomName
true Indicates that the expression, referred to by a custom name, will not be restricted; otherwise, false
See Also

Reference

ThreeColorScaleConditionalFormattingRule Class
ThreeColorScaleConditionalFormattingRule Members
Overload List