New to Telerik UI for WPFStart a free 30-day trial

Represents a view model for data validation dialog.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public class DataValidationDialogViewModel : DialogViewModelBase<DataValidationDialogContext>

Inheritance: objectDialogViewModelBase<DataValidationDialogContext>DataValidationDialogViewModel

Inherited Members DialogViewModelBase<DataValidationDialogContext>.Context

Constructors

Initializes a new instance of the DataValidationDialogViewModel class.

C#
public DataValidationDialogViewModel(DataValidationDialogContext context, Action closeDialogAction, Action showWrongRuleError)
Parameters:contextDataValidationDialogContext

The context.

closeDialogActionAction

The close dialog action.

showWrongRuleErrorAction

The show wrong rule error.

Properties

Gets or sets a value indicating if should apply changes to all cells with the same settings.

C#
public bool ApplyChangesToAllCellsWithTheSameSettings { get; set; }
Property Value:

The value indicating if should apply changes to all cells with the same settings.

Gets or sets the first argument.

C#
public string Argument1 { get; set; }
Property Value:

The first argument.

Gets or sets the second argument.

C#
public string Argument2 { get; set; }
Property Value:

The second argument.

Gets or sets the first argument header.

C#
public string ArgumentHeader1 { get; set; }
Property Value:

The first argument header.

Gets or sets the second argument header.

C#
public string ArgumentHeader2 { get; set; }
Property Value:

The second argument header.

Gets or sets the first argument visibility.

C#
public Visibility ArgumentVisibility1 { get; set; }
Property Value:

The first argument visibility.

Gets or sets the second argument visibility.

C#
public Visibility ArgumentVisibility2 { get; set; }
Property Value:

The second argument visibility.

Gets the clear all command.

C#
public ICommand ClearAllCommand { get; }
Property Value:

The clear all command.

Gets the close command.

C#
public ICommand CloseCommand { get; }
Property Value:

The close command.

Gets the comparison operators.

C#
public IEnumerable<string> ComparisonOperators { get; }
Property Value:

The comparison operators.

Gets or sets the error alert message.

C#
public string ErrorAlertContent { get; set; }
Property Value:

The error alert message.

Gets the error alert styles.

C#
public IEnumerable<string> ErrorAlertStyles { get; }
Property Value:

The error alert styles.

Gets or sets the error alert title.

C#
public string ErrorAlertTitle { get; set; }
Property Value:

The error alert title.

Gets or sets a value indicating if blank cells should be ignored.

C#
public bool IgnoreBlank { get; set; }
Property Value:

The value indicating if blank cells should be ignored.

Gets or sets the ignore blank is enabled.

C#
public bool IgnoreBlankIsEnabled { get; set; }
Property Value:

The ignore blank is enabled.

Gets or sets a value indicating if an cell dropdown should be shown.

C#
public bool InCellDropdown { get; set; }
Property Value:

The a value indicating if an cell dropdown should be shown.

Gets or sets the in cell dropdown visibility.

C#
public Visibility InCellDropdownVisibility { get; set; }
Property Value:

The in cell dropdown visibility.

Gets or sets the information image visibility.

C#
public Visibility InformationImageVisibility { get; set; }
Property Value:

The information image visibility.

Gets or sets the input message.

C#
public string InputMessageContent { get; set; }
Property Value:

The input message.

Gets or sets the input message title.

C#
public string InputMessageTitle { get; set; }
Property Value:

The input message title.

Gets or sets the is comparison operators enabled.

C#
public bool IsComparisonOperatorsEnabled { get; set; }
Property Value:

The is comparison operators enabled.

Gets the ok command.

C#
public ICommand OkCommand { get; }
Property Value:

The ok command.

Gets or sets the index of the selected comparison operator.

C#
public int SelectedComparisonOperatorIndex { get; set; }
Property Value:

The index of the selected comparison operator.

Gets or sets the index of the selected error style.

C#
public int SelectedErrorStyleIndex { get; set; }
Property Value:

The index of the selected error style.

Gets or sets the index of the selected tab.

C#
public int SelectedTabIndex { get; set; }
Property Value:

The index of the selected tab.

Gets or sets the index of the selected validation rule.

C#
public int SelectedValidationRuleIndex { get; set; }
Property Value:

The index of the selected validation rule.

Gets or sets a value indicating if should show error alert after invalid data is entered.

C#
public bool ShowErrorAlertAfterInvalidDataIsEntered { get; set; }
Property Value:

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.

C#
public bool ShowInputMessageWhenCellIsSelected { get; set; }
Property Value:

The value indicating if should show input message when cell is selected.

Gets or sets the stop image visibility.

C#
public Visibility StopImageVisibility { get; set; }
Property Value:

The stop image visibility.

Gets the validation rule types.

C#
public IEnumerable<string> ValidationRuleTypes { get; }
Property Value:

The validation rule types.

Gets or sets the warning image visibility.

C#
public Visibility WarningImageVisibility { get; set; }
Property Value:

The warning image visibility.