ContainCondition Class
Represents a condition that formats only cells that contain value which satisfies the specified criteria.
public class ContainCondition : FormatCondition
Public Class ContainCondition
Inherits FormatCondition
- Inheritance:
- System.ObjectContainCondition
- Derived
Properties
ConditionType
Gets the Contain value.
public sealed override FormatConditionType ConditionType { get; }
Public NotOverridable Overrides ReadOnly Property ConditionType As FormatConditionType
Property Value
The Contain value.
Overrides
ContainConditionType
Gets the ContainCondition type.
public ContainConditionType ContainConditionType { get; }
Public ReadOnly Property ContainConditionType As ContainConditionType
Property Value
The ContainCondition type.
Style
Gets the actual formatting which will be applied to a cell if its value satisfies this ContainCondition.
Property Value
The actual formatting which will be applied to a cell if its value satisfies this ContainCondition.
Methods
ToString()
Returns a System.String that represents this ContainCondition instance.
Returns
- System.String
A System.String that represents this ContainCondition instance.
Overrides
Remarks
This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).
Inherited Properties
Rule | Gets the conditional formatting rule associated with this condition. (Inherited from FormatCondition) |