TextContainsRule Class

Conditional format rule that applies when the cell value contains specified text.

Inheritance

Object

Documents.Spreadsheet.ConditionalFormatBase

Documents.Spreadsheet.TextContainsRule

Namespace: Radzen.Documents.Spreadsheet

Assembly: Radzen.Blazor.dll

Syntax

public class TextContainsRule : Documents.Spreadsheet.ConditionalFormatBase

Constructors

TextContainsRulelink

Conditional format rule that applies when the cell value contains specified text.

Declaration
public TextContainsRule()

Properties

Formatlink

Gets or sets the format to apply when the rule matches.

Declaration
public Documents.Spreadsheet.Format Format { get; set; }
Property Value
Type Description
Documents.Spreadsheet.FormatGets or sets the format to apply when the rule matches.

Textlink

Gets or sets the text to search for.

Declaration
public string Text { get; set; }
Property Value
Type Description
stringGets or sets the text to search for.

Methods

GetFormatlink

Declaration
public override Documents.Spreadsheet.Format GetFormat(Documents.Spreadsheet.Cell cell)
Parameters
Type Name Description
Documents.Spreadsheet.Cell cell
Returns
An error has occurred. This app may no longer respond until reloaded. Reload 🗙