[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
 [Expand]What's Installed
 [Expand].NET Core 3 Support
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Collapse]Data Editors
    Included Components
   [Expand]Implementation Details
   [Expand]Getting Started
   [Expand]Editor Types
   [Collapse]Common Features
    [Expand]Obtaining Editor Values
    [Expand]Binding to Data
     In-Place Mode
    [Expand]Editor Operation Modes
    [Expand]Masked Input
    [Collapse]Input Validation
      Input Validation Overview
      Input Validation Types
     Incremental Search
   [Expand]Range Control
   [Expand]Visual Elements
   [Expand]End-User Capabilities
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Gantt Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Input Validation Overview

Expanded Data Validation Basics

Data Validation takes place when a value specified by an end-user (e.g. a user types within a text editor and presses the ENTER key), is to be assigned to the editor's BaseEdit.EditValue property. If the new value is invalid, it isn't accepted by the editor. The editor temporarily stores the invalid value, until it is corrected or reset.

There are two validation types: automatic and manual. Automatic validation controls user input using the mask functionality. Manual validation should be implemented within the BaseEdit.Validate event handler. To learn more, see Input Validation Types.


If your form contains multiple standalone editors, it is possible to check that all of them are valid using the ValidationService class


You can enable the input validation only for the BaseEdit class descendants.

Expanded Data Validation Features

With the new data validation system available in Data Editors, you can introduce the following features to your WPF application:

Expanded Concepts

Is this topic helpful?​​​​​​​