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

Provides data for a DataFormDataField validating event.

Definition

Namespace:Telerik.Windows.Controls.Data.DataForm

Assembly:Telerik.Windows.Controls.Data.dll

Syntax:

C#
public class DataFieldValidatingEventArgs : DataFieldEventArgs

Inheritance: objectEventArgsDataFieldEventArgsDataFieldValidatingEventArgs

Inherited Members DataFieldEventArgs.DataFieldEventArgs.Empty

Constructors

Initializes a new instance of the DataFieldValidatingEventArgs class.

C#
public DataFieldValidatingEventArgs(DataFormDataField dataField)
Parameters:dataFieldDataFormDataField

Properties

Gets or sets a value that indicates whether the changes are valid.

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

The is valid.

Gets the new value.

C#
public object NewValue { get; }

Gets the old value.

C#
public object OldValue { get; }

Gets the validation results.

C#
public IEnumerable<ValidationResult> ValidationResults { get; }
Property Value:

The validation results.