[]
Initializes a new instance of the TwoColorScaleConditionalFormattingRule class.
[Obsolete]
public TwoColorScaleConditionalFormattingRule(bool suppressCustomName)
<Obsolete>
Public Sub New(suppressCustomName As Boolean)
Type | Name | Description |
---|---|---|
bool | suppressCustomName |
|
Initializes a new instance of the TwoColorScaleConditionalFormattingRule class.
public TwoColorScaleConditionalFormattingRule()
Public Sub New()
Initializes a new instance of the TwoColorScaleConditionalFormattingRule class.
public TwoColorScaleConditionalFormattingRule(Color minColor, Color maxColor, bool suppressCustomName)
Public Sub New(minColor As Color, maxColor As Color, suppressCustomName As Boolean)
Type | Name | Description |
---|---|---|
Color | minColor | Color of the minimum value. |
Color | maxColor | Color of the maximum value. |
bool | suppressCustomName |
|
Initializes a new instance of the TwoColorScaleConditionalFormattingRule class.
public TwoColorScaleConditionalFormattingRule(Color minColor, Color maxColor)
Public Sub New(minColor As Color, maxColor As Color)
Type | Name | Description |
---|---|---|
Color | minColor | Color of the minimum value. |
Color | maxColor | Color of the maximum value. |
Initializes a new instance of the TwoColorScaleConditionalFormattingRule class.
[Obsolete]
public TwoColorScaleConditionalFormattingRule(ConditionalFormattingColorValue minValue, ConditionalFormattingColorValue maxValue, bool suppressCustomName)
<Obsolete>
Public Sub New(minValue As ConditionalFormattingColorValue, maxValue As ConditionalFormattingColorValue, suppressCustomName As Boolean)
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 | 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 |
|
Initializes a new instance of the TwoColorScaleConditionalFormattingRule class.
public TwoColorScaleConditionalFormattingRule(ConditionalFormattingColorValue minValue, ConditionalFormattingColorValue maxValue)
Public Sub New(minValue As ConditionalFormattingColorValue, maxValue As ConditionalFormattingColorValue)
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 | 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. |
Initializes a new instance of the TwoColorScaleConditionalFormattingRule class from serialization.
protected TwoColorScaleConditionalFormattingRule(SerializationInfo info, StreamingContext context)
Protected Sub New(info As SerializationInfo, context As StreamingContext)
Type | Name | Description |
---|---|---|
SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo object to populate with data. |
StreamingContext | context | The destination (see System.Runtime.Serialization.StreamingContext) for this serialization. |