Class DataValidationDialogViewModel
Represents a view model for data validation dialog.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Controls.Spreadsheet.Dialogs
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public class DataValidationDialogViewModel : DialogViewModelBase<DataValidationDialogContext>, INotifyPropertyChanged
Constructors
DataValidationDialogViewModel(DataValidationDialogContext, Action, Action)
Initializes a new instance of the DataValidationDialogViewModel class.
Declaration
public DataValidationDialogViewModel(DataValidationDialogContext context, Action closeDialogAction, Action showWrongRuleError)
Parameters
DataValidationDialogContext
context
The context. |
System.Action
closeDialogAction
The close dialog action. |
System.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
System.Boolean
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
System.String
The first argument. |
Argument2
Gets or sets the second argument.
Declaration
public string Argument2 { get; set; }
Property Value
System.String
The second argument. |
ArgumentHeader1
Gets or sets the first argument header.
Declaration
public string ArgumentHeader1 { get; set; }
Property Value
System.String
The first argument header. |
ArgumentHeader2
Gets or sets the second argument header.
Declaration
public string ArgumentHeader2 { get; set; }
Property Value
System.String
The second argument header. |
ArgumentVisibility1
Gets or sets the first argument visibility.
Declaration
public bool ArgumentVisibility1 { get; set; }
Property Value
System.Boolean
The first argument visibility. |
ArgumentVisibility2
Gets or sets the second argument visibility.
Declaration
public bool ArgumentVisibility2 { get; set; }
Property Value
System.Boolean
The second argument visibility. |
ClearAllCommand
Gets the clear all command.
Declaration
public ICommand ClearAllCommand { get; }
Property Value
System.Windows.Input.ICommand
The clear all command. |
CloseCommand
Gets the close command.
Declaration
public ICommand CloseCommand { get; }
Property Value
System.Windows.Input.ICommand
The close command. |
ComparisonOperators
Gets the comparison operators.
Declaration
public IEnumerable<string> ComparisonOperators { get; }
Property Value
System.Collections.Generic.IEnumerable<System.String>
The comparison operators. |
ErrorAlertContent
Gets or sets the error alert message.
Declaration
public string ErrorAlertContent { get; set; }
Property Value
System.String
The error alert message. |
ErrorAlertStyles
Gets the error alert styles.
Declaration
public IEnumerable<string> ErrorAlertStyles { get; }
Property Value
System.Collections.Generic.IEnumerable<System.String>
The error alert styles. |
ErrorAlertTitle
Gets or sets the error alert title.
Declaration
public string ErrorAlertTitle { get; set; }
Property Value
System.String
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
System.Boolean
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
System.Boolean
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
System.Boolean
The a value indicating if an cell dropdown should be shown. |
InCellDropdownVisibility
Gets or sets the in cell dropdown visibility.
Declaration
public bool InCellDropdownVisibility { get; set; }
Property Value
System.Boolean
The in cell dropdown visibility. |
InformationImageVisibility
Gets or sets the information image visibility.
Declaration
public bool InformationImageVisibility { get; set; }
Property Value
System.Boolean
The information image visibility. |
InputMessageContent
Gets or sets the input message.
Declaration
public string InputMessageContent { get; set; }
Property Value
System.String
The input message. |
InputMessageTitle
Gets or sets the input message title.
Declaration
public string InputMessageTitle { get; set; }
Property Value
System.String
The input message title. |
IsComparisonOperatorsEnabled
Gets or sets the is comparison operators enabled.
Declaration
public bool IsComparisonOperatorsEnabled { get; set; }
Property Value
System.Boolean
The is comparison operators enabled. |
OkCommand
Gets the ok command.
Declaration
public ICommand OkCommand { get; }
Property Value
System.Windows.Input.ICommand
The ok command. |
SelectedComparisonOperatorIndex
Gets or sets the index of the selected comparison operator.
Declaration
public int SelectedComparisonOperatorIndex { get; set; }
Property Value
System.Int32
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
System.Int32
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
System.Int32
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
System.Int32
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
System.Boolean
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
System.Boolean
The value indicating if should show input message when cell is selected. |
StopImageVisibility
Gets or sets the stop image visibility.
Declaration
public bool StopImageVisibility { get; set; }
Property Value
System.Boolean
The stop image visibility. |
ValidationRuleTypes
Gets the validation rule types.
Declaration
public IEnumerable<string> ValidationRuleTypes { get; }
Property Value
System.Collections.Generic.IEnumerable<System.String>
The validation rule types. |
WarningImageVisibility
Gets or sets the warning image visibility.
Declaration
public bool WarningImageVisibility { get; set; }
Property Value
System.Boolean
The warning image visibility. |