[]
Represents conditional formatting rule.
public class Rule : BaseNotifyPropertyChanged, IRule, ICloneable, INotifyPropertyChanged, IXmlSerializable
| Name | Description |
|---|---|
| Rule() | Initializes a new instance of the Rule. |
| Rule(Rule) | Initializes a new instance of the Rule. |
| Name | Description |
|---|---|
| AppliesTo | Gets a ItemRangeCollection collection of that specifies the range of items that the formatting rule applies to. |
| Enabled | Gets or sets whether this conditional formatting is enabled. |
| Expression | Gets or sets the value or expression associated with the conditional format or validation of data. |
| IsValid | Gets whether this conditional formatting is properly customized. |
| Name | Gets or sets rule name. |
| StopIfTrue | Gets or sets a Boolean value that determines if additional formatting rules for the item should be evaluated, if the current rule is set to True. |
| Style | Gets or sets the item style that will be used for conditional formatting or data validation. |
| Name | Description |
|---|---|
| Clone() | Creates a new object that is a copy of the current instance. |
| ReadXml(XmlReader) | Generates an Rule from its XML representation. |
| WriteXml(XmlWriter) | Converts an Rule into its XML representation. |