Gets a value that indicates whether the data in a cell is valid.
Assembly: System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)
Dependency property identifier field: IsValidProperty
The DataGrid supports cell-level property validation and row-level object validation. If a validation exception is encountered in the property setter, the cell editing control displays its error state. The , DataGridRow.IsValid, and DataGrid.IsValid properties are all set to false. The DataGrid will not exit cell editing mode until the validation error is resolved.
In order for validation to work correctly, each DataGridBoundColumn.Binding must have its ValidatesOnExceptions and NotifyOnValidationError properties set to true, and its UpdateSourceTrigger set to Explicit.
For more information about validation visual states, see the DataGrid Styles and Templates topic.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.