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:
public abstract class DataValidationRuleContextBase
Inheritance: objectDataValidationRuleContextBase
Derived Classes:
Constructors
Initializes a new context with default settings for input and error messages.
protected DataValidationRuleContextBase()
Properties
The content text displayed in the error alert dialog.
public string ErrorAlertContent { get; set; }
The content of the error alert.
The title displayed in the error alert dialog.
public string ErrorAlertTitle { get; set; }
The error message title.
The severity style of the error alert, controlling whether invalid input is blocked or only warned.
public ErrorStyle ErrorStyle { get; set; }
The error style.
The content text displayed in the input message prompt.
public string InputMessageContent { get; set; }
The content of the input message.
The title displayed in the input message prompt.
public string InputMessageTitle { get; set; }
The input message title.
Whether to display an error alert when invalid data is entered.
public bool ShowErrorMessage { get; set; }
The value indicating whether an input message should be shown.
Whether to display an input message when the cell is selected.
public bool ShowInputMessage { get; set; }
The value indicating whether an input message should be shown.