ClassDataValidationDialogViewModel
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
DataValidationDialogViewModel(DataValidationDialogContext, Action, Action)
Initializes a new instance of the DataValidationDialogViewModel class.
Declaration
public DataValidationDialogViewModel(DataValidationDialogContext context, Action closeDialogAction, Action showWrongRuleError)
Parameters
context
The context.
closeDialogAction
The close dialog action.
showWrongRuleError
The show wrong rule error.
Properties
ApplyChangesToAllCellsWithTheSameSettings
Gets or sets a value indicating if should apply changes to all cells with the same settings.
Declaration
public bool ApplyChangesToAllCellsWithTheSameSettings { get; set; }
Property Value
The value indicating if should apply changes to all cells with the same settings.
Argument1
Gets or sets the first argument.
Declaration
public string Argument1 { get; set; }
Property Value
The first argument.
Argument2
Gets or sets the second argument.
Declaration
public string Argument2 { get; set; }
Property Value
The second argument.
ArgumentHeader1
Gets or sets the first argument header.
Declaration
public string ArgumentHeader1 { get; set; }
Property Value
The first argument header.
ArgumentHeader2
Gets or sets the second argument header.
Declaration
public string ArgumentHeader2 { get; set; }
Property Value
The second argument header.
ArgumentVisibility1
Gets or sets the first argument visibility.
Declaration
public Visibility ArgumentVisibility1 { get; set; }
Property Value
Visibility
The first argument visibility.
ArgumentVisibility2
Gets or sets the second argument visibility.
Declaration
public Visibility ArgumentVisibility2 { get; set; }
Property Value
Visibility
The second argument visibility.
ClearAllCommand
Gets the clear all command.
Declaration
public ICommand ClearAllCommand { get; }
Property Value
The clear all command.
CloseCommand
Gets the close command.
Declaration
public ICommand CloseCommand { get; }
Property Value
The close command.
ComparisonOperators
Gets the comparison operators.
Declaration
public IEnumerable<string> ComparisonOperators { get; }
Property Value
The comparison operators.
ErrorAlertContent
Gets or sets the error alert message.
Declaration
public string ErrorAlertContent { get; set; }
Property Value
The error alert message.
ErrorAlertStyles
Gets the error alert styles.
Declaration
public IEnumerable<string> ErrorAlertStyles { get; }
Property Value
The error alert styles.
ErrorAlertTitle
Gets or sets the error alert title.
Declaration
public string ErrorAlertTitle { get; set; }
Property Value
The error alert title.
IgnoreBlank
Gets or sets a value indicating if blank cells should be ignored.
Declaration
public bool IgnoreBlank { get; set; }
Property Value
The value indicating if blank cells should be ignored.
IgnoreBlankIsEnabled
Gets or sets the ignore blank is enabled.
Declaration
public bool IgnoreBlankIsEnabled { get; set; }
Property Value
The ignore blank is enabled.
InCellDropdown
Gets or sets a value indicating if an cell dropdown should be shown.
Declaration
public bool InCellDropdown { get; set; }
Property Value
The a value indicating if an cell dropdown should be shown.
InCellDropdownVisibility
Gets or sets the in cell dropdown visibility.
Declaration
public Visibility InCellDropdownVisibility { get; set; }
Property Value
Visibility
The in cell dropdown visibility.
InformationImageVisibility
Gets or sets the information image visibility.
Declaration
public Visibility InformationImageVisibility { get; set; }
Property Value
Visibility
The information image visibility.
InputMessageContent
Gets or sets the input message.
Declaration
public string InputMessageContent { get; set; }
Property Value
The input message.
InputMessageTitle
Gets or sets the input message title.
Declaration
public string InputMessageTitle { get; set; }
Property Value
The input message title.
IsComparisonOperatorsEnabled
Gets or sets the is comparison operators enabled.
Declaration
public bool IsComparisonOperatorsEnabled { get; set; }
Property Value
The is comparison operators enabled.
OkCommand
Gets the ok command.
Declaration
public ICommand OkCommand { get; }
Property Value
The ok command.
SelectedComparisonOperatorIndex
Gets or sets the index of the selected comparison operator.
Declaration
public int SelectedComparisonOperatorIndex { get; set; }
Property Value
The index of the selected comparison operator.
SelectedErrorStyleIndex
Gets or sets the index of the selected error style.
Declaration
public int SelectedErrorStyleIndex { get; set; }
Property Value
The index of the selected error style.
SelectedTabIndex
Gets or sets the index of the selected tab.
Declaration
public int SelectedTabIndex { get; set; }
Property Value
The index of the selected tab.
SelectedValidationRuleIndex
Gets or sets the index of the selected validation rule.
Declaration
public int SelectedValidationRuleIndex { get; set; }
Property Value
The index of the selected validation rule.
ShowErrorAlertAfterInvalidDataIsEntered
Gets or sets a value indicating if should show error alert after invalid data is entered.
Declaration
public bool ShowErrorAlertAfterInvalidDataIsEntered { get; set; }
Property Value
The a value indicating if should show error alert after invalid data is entered.
ShowInputMessageWhenCellIsSelected
Gets or sets a value indicating if should show input message when cell is selected.
Declaration
public bool ShowInputMessageWhenCellIsSelected { get; set; }
Property Value
The value indicating if should show input message when cell is selected.
StopImageVisibility
Gets or sets the stop image visibility.
Declaration
public Visibility StopImageVisibility { get; set; }
Property Value
Visibility
The stop image visibility.
ValidationRuleTypes
Gets the validation rule types.
Declaration
public IEnumerable<string> ValidationRuleTypes { get; }
Property Value
The validation rule types.
WarningImageVisibility
Gets or sets the warning image visibility.
Declaration
public Visibility WarningImageVisibility { get; set; }
Property Value
Visibility
The warning image visibility.