[]
        
(Showing Draft Content)

C1.Win.RulesManager.Rule

Rule Class

Represents conditional formatting rule.

Namespace: C1.Win.RulesManager
Assembly: C1.Win.RulesManager.4.8.dll
Syntax
public class Rule : BaseNotifyPropertyChanged, IRule, ICloneable, INotifyPropertyChanged, IXmlSerializable

Constructors

Name Description
Rule()

Initializes a new instance of the Rule.

Rule(Rule)

Initializes a new instance of the Rule.

Properties

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.

Methods

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.