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