New to Telerik UI for WinForms? Start a free 30-day trial

Provides information about the validation process.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class ValidationErrorEventArgs : EventArgs

Inheritance: objectEventArgsValidationErrorEventArgs

Inherited Members EventArgs.Empty

Constructors

Creates event data for a validation failure, with an optional exception explaining the failure.

C#
public ValidationErrorEventArgs(object value, Exception exception)
Parameters:valueobject

The value associated with validation; use null when it is unavailable.

exceptionException

The exception associated with the failure, or null when validation was canceled without one.

Properties

Gets the exception that is caused by the validation of the edited value. Generally the exception is populated by the validation logic and is available for rising by the editor.

C#
public Exception Exception { get; }

Gets the edited value that fails to be validated

C#
public object Value { get; }