EqualToRule Class

Conditional format rule that applies when the cell value equals a specific value.

Inheritance

Object

Documents.Spreadsheet.ConditionalFormatBase

Documents.Spreadsheet.EqualToRule

Namespace: Radzen.Documents.Spreadsheet

Assembly: Radzen.Blazor.dll

Syntax

public class EqualToRule : Documents.Spreadsheet.ConditionalFormatBase

Constructors

EqualToRulelink

Conditional format rule that applies when the cell value equals a specific value.

Declaration
public EqualToRule()

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.

Valuelink

Gets or sets the value to compare against.

Declaration
public object Value { get; set; }
Property Value
Type Description
objectGets or sets the value to compare against.

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 🗙