DataValidationCommand Class

Command to add a data validation rule to a range.

Inheritance

Object

Spreadsheet.DataValidationCommand

Namespace: Radzen.Blazor.Spreadsheet

Assembly: Radzen.Blazor.dll

Syntax

public class DataValidationCommand : Spreadsheet.ICommand, Spreadsheet.IProtectedCommand

Constructors

DataValidationCommandLink to this section

Command to add a data validation rule to a range.

Declaration
public DataValidationCommand(Documents.Spreadsheet.Worksheet sheet, Documents.Spreadsheet.RangeRef range, Documents.Spreadsheet.ICellValidator rule)
Parameters

Properties

FeatureLink to this section

Declaration
public Spreadsheet.SpreadsheetFeature? Feature { get; }
Property Value
Type Description
Spreadsheet.SpreadsheetFeature?

RequiredActionLink to this section

Declaration
public Documents.Spreadsheet.SheetAction RequiredAction { get; }
Property Value

Methods

ExecuteLink to this section

Declaration
public bool Execute()
Returns
Type Description
bool

UnexecuteLink to this section

Declaration
public void Unexecute()
An error has occurred. This app may no longer respond until reloaded. Reload 🗙