Represents a view model for data validation dialog.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class DataValidationDialogViewModel : DialogViewModelBase<DataValidationDialogContext>
Inheritance: objectDialogViewModelBase<DataValidationDialogContext>DataValidationDialogViewModel
Inherited Members
Constructors
Initializes a new instance of the DataValidationDialogViewModel class.
public DataValidationDialogViewModel(DataValidationDialogContext context, Action closeDialogAction, Action showWrongRuleError)
The context.
closeDialogActionActionThe close dialog action.
showWrongRuleErrorActionThe show wrong rule error.
Properties
Gets or sets a value indicating if should apply changes to all cells with the same settings.
public bool ApplyChangesToAllCellsWithTheSameSettings { get; set; }
The value indicating if should apply changes to all cells with the same settings.
Gets or sets the first argument.
public string Argument1 { get; set; }
The first argument.
Gets or sets the second argument.
public string Argument2 { get; set; }
The second argument.
Gets or sets the first argument header.
public string ArgumentHeader1 { get; set; }
The first argument header.
Gets or sets the second argument header.
public string ArgumentHeader2 { get; set; }
The second argument header.
ArgumentVisibility1
Visibility
Gets or sets the first argument visibility.
public Visibility ArgumentVisibility1 { get; set; }
The first argument visibility.
ArgumentVisibility2
Visibility
Gets or sets the second argument visibility.
public Visibility ArgumentVisibility2 { get; set; }
The second argument visibility.
Gets the clear all command.
public ICommand ClearAllCommand { get; }
The clear all command.
Gets the close command.
public ICommand CloseCommand { get; }
The close command.
Gets the comparison operators.
public IEnumerable<string> ComparisonOperators { get; }
The comparison operators.
Gets or sets the error alert message.
public string ErrorAlertContent { get; set; }
The error alert message.
Gets the error alert styles.
public IEnumerable<string> ErrorAlertStyles { get; }
The error alert styles.
Gets or sets the error alert title.
public string ErrorAlertTitle { get; set; }
The error alert title.
Gets or sets a value indicating if blank cells should be ignored.
public bool IgnoreBlank { get; set; }
The value indicating if blank cells should be ignored.
Gets or sets the ignore blank is enabled.
public bool IgnoreBlankIsEnabled { get; set; }
The ignore blank is enabled.
Gets or sets a value indicating if an cell dropdown should be shown.
public bool InCellDropdown { get; set; }
The a value indicating if an cell dropdown should be shown.
InCellDropdownVisibility
Visibility
Gets or sets the in cell dropdown visibility.
public Visibility InCellDropdownVisibility { get; set; }
The in cell dropdown visibility.
InformationImageVisibility
Visibility
Gets or sets the information image visibility.
public Visibility InformationImageVisibility { get; set; }
The information image visibility.
Gets or sets the input message.
public string InputMessageContent { get; set; }
The input message.
Gets or sets the input message title.
public string InputMessageTitle { get; set; }
The input message title.
Gets or sets the is comparison operators enabled.
public bool IsComparisonOperatorsEnabled { get; set; }
The is comparison operators enabled.
Gets the ok command.
public ICommand OkCommand { get; }
The ok command.
Gets or sets the index of the selected comparison operator.
public int SelectedComparisonOperatorIndex { get; set; }
The index of the selected comparison operator.
Gets or sets the index of the selected error style.
public int SelectedErrorStyleIndex { get; set; }
The index of the selected error style.
Gets or sets the index of the selected tab.
public int SelectedTabIndex { get; set; }
The index of the selected tab.
Gets or sets the index of the selected validation rule.
public int SelectedValidationRuleIndex { get; set; }
The index of the selected validation rule.
Gets or sets a value indicating if should show error alert after invalid data is entered.
public bool ShowErrorAlertAfterInvalidDataIsEntered { get; set; }
The a value indicating if should show error alert after invalid data is entered.
Gets or sets a value indicating if should show input message when cell is selected.
public bool ShowInputMessageWhenCellIsSelected { get; set; }
The value indicating if should show input message when cell is selected.
StopImageVisibility
Visibility
Gets or sets the stop image visibility.
public Visibility StopImageVisibility { get; set; }
The stop image visibility.
Gets the validation rule types.
public IEnumerable<string> ValidationRuleTypes { get; }
The validation rule types.
WarningImageVisibility
Visibility
Gets or sets the warning image visibility.
public Visibility WarningImageVisibility { get; set; }
The warning image visibility.