Class
DataValidationRuleContextBase

Base class providing common configuration for data validation rules including input prompts and error alerts.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model.DataValidation

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
public abstract class DataValidationRuleContextBase

Inheritance: objectDataValidationRuleContextBase

Derived Classes: AnyValueDataValidationRuleContextSingleArgumentDataValidationRuleContext

Constructors

DataValidationRuleContextBase()

Initializes a new context with default settings for input and error messages.

Declaration

cs-api-definition
protected DataValidationRuleContextBase()

Properties

ErrorAlertContent

The content text displayed in the error alert dialog.

Declaration

cs-api-definition
public string ErrorAlertContent { get; set; }

Property Value

string

The content of the error alert.

ErrorAlertTitle

The title displayed in the error alert dialog.

Declaration

cs-api-definition
public string ErrorAlertTitle { get; set; }

Property Value

string

The error message title.

ErrorStyle

The severity style of the error alert, controlling whether invalid input is blocked or only warned.

Declaration

cs-api-definition
public ErrorStyle ErrorStyle { get; set; }

Property Value

ErrorStyle

The error style.

InputMessageContent

The content text displayed in the input message prompt.

Declaration

cs-api-definition
public string InputMessageContent { get; set; }

Property Value

string

The content of the input message.

InputMessageTitle

The title displayed in the input message prompt.

Declaration

cs-api-definition
public string InputMessageTitle { get; set; }

Property Value

string

The input message title.

ShowErrorMessage

Whether to display an error alert when invalid data is entered.

Declaration

cs-api-definition
public bool ShowErrorMessage { get; set; }

Property Value

bool

The value indicating whether an input message should be shown.

ShowInputMessage

Whether to display an input message when the cell is selected.

Declaration

cs-api-definition
public bool ShowInputMessage { get; set; }

Property Value

bool

The value indicating whether an input message should be shown.