Class
DataValidationDialogViewModel

Represents a view model for data validation dialog.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class DataValidationDialogViewModel : DialogViewModelBase<DataValidationDialogContext>

Inheritance: objectDialogViewModelBase<DataValidationDialogContext>DataValidationDialogViewModel

Inherited Members DialogViewModelBase<DataValidationDialogContext>.Context

Constructors

DataValidationDialogViewModel(DataValidationDialogContext, Action, Action)

Initializes a new instance of the DataValidationDialogViewModel class.

Declaration

cs-api-definition
public DataValidationDialogViewModel(DataValidationDialogContext context, Action closeDialogAction, Action showWrongRuleError)

Parameters

context

DataValidationDialogContext

The context.

closeDialogAction

Action

The close dialog action.

showWrongRuleError

Action

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

cs-api-definition
public bool ApplyChangesToAllCellsWithTheSameSettings { get; set; }

Property Value

bool

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

Argument1

Gets or sets the first argument.

Declaration

cs-api-definition
public string Argument1 { get; set; }

Property Value

string

The first argument.

Argument2

Gets or sets the second argument.

Declaration

cs-api-definition
public string Argument2 { get; set; }

Property Value

string

The second argument.

ArgumentHeader1

Gets or sets the first argument header.

Declaration

cs-api-definition
public string ArgumentHeader1 { get; set; }

Property Value

string

The first argument header.

ArgumentHeader2

Gets or sets the second argument header.

Declaration

cs-api-definition
public string ArgumentHeader2 { get; set; }

Property Value

string

The second argument header.

ArgumentVisibility1

Gets or sets the first argument visibility.

Declaration

cs-api-definition
public Visibility ArgumentVisibility1 { get; set; }

Property Value

Visibility

The first argument visibility.

ArgumentVisibility2

Gets or sets the second argument visibility.

Declaration

cs-api-definition
public Visibility ArgumentVisibility2 { get; set; }

Property Value

Visibility

The second argument visibility.

ClearAllCommand

Gets the clear all command.

Declaration

cs-api-definition
public ICommand ClearAllCommand { get; }

Property Value

ICommand

The clear all command.

CloseCommand

Gets the close command.

Declaration

cs-api-definition
public ICommand CloseCommand { get; }

Property Value

ICommand

The close command.

ComparisonOperators

Gets the comparison operators.

Declaration

cs-api-definition
public IEnumerable<string> ComparisonOperators { get; }

Property Value

IEnumerable<string>

The comparison operators.

ErrorAlertContent

Gets or sets the error alert message.

Declaration

cs-api-definition
public string ErrorAlertContent { get; set; }

Property Value

string

The error alert message.

ErrorAlertStyles

Gets the error alert styles.

Declaration

cs-api-definition
public IEnumerable<string> ErrorAlertStyles { get; }

Property Value

IEnumerable<string>

The error alert styles.

ErrorAlertTitle

Gets or sets the error alert title.

Declaration

cs-api-definition
public string ErrorAlertTitle { get; set; }

Property Value

string

The error alert title.

IgnoreBlank

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

Declaration

cs-api-definition
public bool IgnoreBlank { get; set; }

Property Value

bool

The value indicating if blank cells should be ignored.

IgnoreBlankIsEnabled

Gets or sets the ignore blank is enabled.

Declaration

cs-api-definition
public bool IgnoreBlankIsEnabled { get; set; }

Property Value

bool

The ignore blank is enabled.

InCellDropdown

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

Declaration

cs-api-definition
public bool InCellDropdown { get; set; }

Property Value

bool

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

InCellDropdownVisibility

Gets or sets the in cell dropdown visibility.

Declaration

cs-api-definition
public Visibility InCellDropdownVisibility { get; set; }

Property Value

Visibility

The in cell dropdown visibility.

InformationImageVisibility

Gets or sets the information image visibility.

Declaration

cs-api-definition
public Visibility InformationImageVisibility { get; set; }

Property Value

Visibility

The information image visibility.

InputMessageContent

Gets or sets the input message.

Declaration

cs-api-definition
public string InputMessageContent { get; set; }

Property Value

string

The input message.

InputMessageTitle

Gets or sets the input message title.

Declaration

cs-api-definition
public string InputMessageTitle { get; set; }

Property Value

string

The input message title.

IsComparisonOperatorsEnabled

Gets or sets the is comparison operators enabled.

Declaration

cs-api-definition
public bool IsComparisonOperatorsEnabled { get; set; }

Property Value

bool

The is comparison operators enabled.

OkCommand

Gets the ok command.

Declaration

cs-api-definition
public ICommand OkCommand { get; }

Property Value

ICommand

The ok command.

SelectedComparisonOperatorIndex

Gets or sets the index of the selected comparison operator.

Declaration

cs-api-definition
public int SelectedComparisonOperatorIndex { get; set; }

Property Value

int

The index of the selected comparison operator.

SelectedErrorStyleIndex

Gets or sets the index of the selected error style.

Declaration

cs-api-definition
public int SelectedErrorStyleIndex { get; set; }

Property Value

int

The index of the selected error style.

SelectedTabIndex

Gets or sets the index of the selected tab.

Declaration

cs-api-definition
public int SelectedTabIndex { get; set; }

Property Value

int

The index of the selected tab.

SelectedValidationRuleIndex

Gets or sets the index of the selected validation rule.

Declaration

cs-api-definition
public int SelectedValidationRuleIndex { get; set; }

Property Value

int

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

cs-api-definition
public bool ShowErrorAlertAfterInvalidDataIsEntered { get; set; }

Property Value

bool

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

cs-api-definition
public bool ShowInputMessageWhenCellIsSelected { get; set; }

Property Value

bool

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

StopImageVisibility

Gets or sets the stop image visibility.

Declaration

cs-api-definition
public Visibility StopImageVisibility { get; set; }

Property Value

Visibility

The stop image visibility.

ValidationRuleTypes

Gets the validation rule types.

Declaration

cs-api-definition
public IEnumerable<string> ValidationRuleTypes { get; }

Property Value

IEnumerable<string>

The validation rule types.

WarningImageVisibility

Gets or sets the warning image visibility.

Declaration

cs-api-definition
public Visibility WarningImageVisibility { get; set; }

Property Value

Visibility

The warning image visibility.