[]
Initializes a new instance of the ConditionalStyleItem class.
public ConditionalStyleItem(AppearanceStyleInfo style, ConditionalStyleOperator op)
Public Sub New(style As AppearanceStyleInfo, op As ConditionalStyleOperator)
Type | Name | Description |
---|---|---|
AppearanceStyleInfo | style | A CellStyle that is applied to the Cell when the condition matches. |
ConditionalStyleOperator | op | A ConditionalStyleOperator value that the Value should match. |
Type | Condition |
---|---|
ArgumentNullException | The |
InvalidEnumArgumentException | The specified value of |
Initializes a new instance of the ConditionalStyleItem class.
public ConditionalStyleItem(AppearanceStyleInfo style, ConditionalStyleOperator op, bool ignoreCase)
Public Sub New(style As AppearanceStyleInfo, op As ConditionalStyleOperator, ignoreCase As Boolean)
Type | Name | Description |
---|---|---|
AppearanceStyleInfo | style | A CellStyle that is applied to the Cell when the condition matches. |
ConditionalStyleOperator | op | A ConditionalStyleOperator value that the Value should match. |
bool | ignoreCase | true if the comparison should ignore the case; otherwise, false. |
Type | Condition |
---|---|
ArgumentNullException | The |
InvalidEnumArgumentException | The specified value of |
Initializes a new instance of the ConditionalStyleItem class.
public ConditionalStyleItem(AppearanceStyleInfo style, ConditionalStyleOperator op, object value1)
Public Sub New(style As AppearanceStyleInfo, op As ConditionalStyleOperator, value1 As Object)
Type | Name | Description |
---|---|---|
AppearanceStyleInfo | style | A CellStyle that is applied to the Cell when the condition matches. |
ConditionalStyleOperator | op | A ConditionalStyleOperator value that the Value should match. |
object | value1 | A object that indicates the operation value when |
Type | Condition |
---|---|
ArgumentNullException | The |
InvalidEnumArgumentException | The specified value of |
Initializes a new instance of the ConditionalStyleItem class.
public ConditionalStyleItem(AppearanceStyleInfo style, ConditionalStyleOperator op, object value1, bool ignoreCase)
Public Sub New(style As AppearanceStyleInfo, op As ConditionalStyleOperator, value1 As Object, ignoreCase As Boolean)
Type | Name | Description |
---|---|---|
AppearanceStyleInfo | style | A CellStyle that is applied to the Cell when the condition matches. |
ConditionalStyleOperator | op | A ConditionalStyleOperator value that the Value should match. |
object | value1 | A object that indicates the operation value when |
bool | ignoreCase |
Type | Condition |
---|---|
ArgumentNullException | The |
InvalidEnumArgumentException | The specified value of |
Initializes a new instance of the ConditionalStyleItem class.
public ConditionalStyleItem(AppearanceStyleInfo style, ConditionalStyleOperator op, object value1, object value2)
Public Sub New(style As AppearanceStyleInfo, op As ConditionalStyleOperator, value1 As Object, value2 As Object)
Type | Name | Description |
---|---|---|
AppearanceStyleInfo | style | A CellStyle that is applied to the Cell when the condition matches. |
ConditionalStyleOperator | op | A ConditionalStyleOperator value that the Value should match. |
object | value1 | A object that indicates the first operation value when |
object | value2 | A object that indicates the second operation value when |
Type | Condition |
---|---|
ArgumentNullException | The |
InvalidEnumArgumentException | The specified value of |
Initializes a new instance of the ConditionalStyleItem class.
public ConditionalStyleItem(AppearanceStyleInfo style, ConditionalStyleOperator op, object value1, object value2, bool ignoreCase)
Public Sub New(style As AppearanceStyleInfo, op As ConditionalStyleOperator, value1 As Object, value2 As Object, ignoreCase As Boolean)
Type | Name | Description |
---|---|---|
AppearanceStyleInfo | style | A CellStyle that is applied to the Cell when the condition matches. |
ConditionalStyleOperator | op | A ConditionalStyleOperator value that the Value should match. |
object | value1 | A object that indicates the first operation value when |
object | value2 | A object that indicates the second operation value when |
bool | ignoreCase | true if the comparison should ignore the case; otherwise, false. |
Type | Condition |
---|---|
ArgumentNullException | The |
InvalidEnumArgumentException | The specified value of |
Initializes a new instance of this class.
public ConditionalStyleItem(SerializationInfo info, StreamingContext context)
Public Sub New(info As SerializationInfo, context As StreamingContext)
Type | Name | Description |
---|---|---|
SerializationInfo | info | The information. |
StreamingContext | context | The context. |