[]
        
(Showing Draft Content)

FarPoint.Win.Spread.ThreeColorScaleConditionalFormattingRule.-ctor

ThreeColorScaleConditionalFormattingRule Constructor

ThreeColorScaleConditionalFormattingRule(bool)

Initializes a new instance of the ThreeColorScaleConditionalFormattingRule class.

Declaration
public ThreeColorScaleConditionalFormattingRule(bool suppressCustomName)
Public Sub New(suppressCustomName As Boolean)
Parameters
Type Name Description
bool suppressCustomName

true Indicates that the expression, referred to by a custom name, will not be restricted; otherwise, false

ThreeColorScaleConditionalFormattingRule()

Initializes a new instance of the ThreeColorScaleConditionalFormattingRule class.

Declaration
public ThreeColorScaleConditionalFormattingRule()
Public Sub New()

ThreeColorScaleConditionalFormattingRule(Color, Color, Color, bool)

Initializes a new instance of the ThreeColorScaleConditionalFormattingRule class.

Declaration
public ThreeColorScaleConditionalFormattingRule(Color minColor, Color midColor, Color maxColor, bool suppressCustomName)
Public Sub New(minColor As Color, midColor As Color, maxColor As Color, suppressCustomName As Boolean)
Parameters
Type Name Description
Color minColor

Color of the minimum value.

Color midColor

Color of the middle value.

Color maxColor

Color of the maximum value.

bool suppressCustomName

true Indicates that the expression, referred to by a custom name, will not be restricted; otherwise, false

ThreeColorScaleConditionalFormattingRule(Color, Color, Color)

Initializes a new instance of the ThreeColorScaleConditionalFormattingRule class.

Declaration
public ThreeColorScaleConditionalFormattingRule(Color minColor, Color midColor, Color maxColor)
Public Sub New(minColor As Color, midColor As Color, maxColor As Color)
Parameters
Type Name Description
Color minColor

Color of the minimum value.

Color midColor

Color of the middle value.

Color maxColor

Color of the maximum value.

ThreeColorScaleConditionalFormattingRule(ConditionalFormattingColorValue, ConditionalFormattingColorValue, ConditionalFormattingColorValue, bool)

Initializes a new instance of the ThreeColorScaleConditionalFormattingRule class.

Declaration
public ThreeColorScaleConditionalFormattingRule(ConditionalFormattingColorValue minValue, ConditionalFormattingColorValue midValue, ConditionalFormattingColorValue maxValue, bool suppressCustomName)
Public Sub New(minValue As ConditionalFormattingColorValue, midValue As ConditionalFormattingColorValue, maxValue As ConditionalFormattingColorValue, suppressCustomName As Boolean)
Parameters
Type Name Description
ConditionalFormattingColorValue 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.

ConditionalFormattingColorValue midValue

The middle value. Note: The middle value only accepts the ConditionalFormattingColorValue object which has a Type value of Number, Percent, Formula, or Pecentile.

ConditionalFormattingColorValue 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.

bool suppressCustomName

true Indicates that the expression, referred to by a custom name, will not be restricted; otherwise, false

ThreeColorScaleConditionalFormattingRule(ConditionalFormattingColorValue, ConditionalFormattingColorValue, ConditionalFormattingColorValue)

Initializes a new instance of the ThreeColorScaleConditionalFormattingRule class.

Declaration
public ThreeColorScaleConditionalFormattingRule(ConditionalFormattingColorValue minValue, ConditionalFormattingColorValue midValue, ConditionalFormattingColorValue maxValue)
Public Sub New(minValue As ConditionalFormattingColorValue, midValue As ConditionalFormattingColorValue, maxValue As ConditionalFormattingColorValue)
Parameters
Type Name Description
ConditionalFormattingColorValue 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.

ConditionalFormattingColorValue midValue

The middle value. Note: The middle value only accepts the ConditionalFormattingColorValue object which has a Type value of Number, Percent, Formula, or Pecentile.

ConditionalFormattingColorValue 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.

ThreeColorScaleConditionalFormattingRule(SerializationInfo, StreamingContext)

Initializes a new instance of the ThreeColorScaleConditionalFormattingRule class from serialization.

Declaration
protected ThreeColorScaleConditionalFormattingRule(SerializationInfo info, StreamingContext context)
Protected Sub New(info As SerializationInfo, context As StreamingContext)
Parameters
Type Name Description
SerializationInfo info

The System.Runtime.Serialization.SerializationInfo to populate with data.

StreamingContext context

The destination (see System.Runtime.Serialization.StreamingContext) for this serialization.