skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class DataValidationDialogViewModel

Represents a view model for data validation dialog.

Inheritance
System.Object
NotifyPropertyChangedBase
DialogViewModelBase<DataValidationDialogContext>
DataValidationDialogViewModel
Inherited Members
DialogViewModelBase<DataValidationDialogContext>.Context
NotifyPropertyChangedBase.OnPropertyChanged(String)
NotifyPropertyChangedBase.OnPropertyChanged(PropertyChangedEventArgs)
NotifyPropertyChangedBase.PropertyChanged
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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.

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.