ClassEndsWithRule
Class
Conditional formatting rule that applies formatting when a cell's text value ends with a specified text string.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
cs-api-definition
public class EndsWithRule : SingleArgumentConditionalFormattingRule
Inheritance: objectConditionalFormattingRuleConditionalFormattingDxfRuleSingleArgumentConditionalFormattingRuleEndsWithRule
Inherited Members
Constructors
EndsWithRule(string, DifferentialFormatting)
Initializes a new EndsWithRule with the text suffix to match and formatting to apply when the condition is met.
Declaration
cs-api-definition
public EndsWithRule(string argument, DifferentialFormatting formatting)
Parameters
argument
formatting
Methods
Resolve(ICellValue)
Evaluates whether the cell's text value ends with the specified suffix and returns 1.0 if true, 0.0 otherwise.
Declaration
cs-api-definition
protected override double Resolve(ICellValue value)
Parameters
value
The cell value
Returns
Overrides