Show / Hide Table of Contents

Class ValidationErrorEventArgs

Provides data for the BindingValidationError event.

Inheritance
System.Object
System.EventArgs
RoutedEventArgs
ValidationErrorEventArgs
Inherited Members
RoutedEventArgs.OriginalSource
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Controls
Assembly: OpenSilver.dll
Syntax
public class ValidationErrorEventArgs : RoutedEventArgs

Constructors

| Improve this Doc View Source

ValidationErrorEventArgs()

Declaration
public ValidationErrorEventArgs()

Properties

| Improve this Doc View Source

Action

Gets the state of the validation error.

Declaration
public ValidationErrorEventAction Action { get; }
Property Value
Type Description
ValidationErrorEventAction

One of the enumeration values that indicates the state of the validation error.

| Improve this Doc View Source

Error

Gets the validation error that caused the BindingValidationError event.

Declaration
public ValidationError Error { get; }
Property Value
Type Description
ValidationError

A ValidationError object that contains the exception that caused the validation error.

| Improve this Doc View Source

Handled

Gets or sets the value that marks the routed event as handled.

Declaration
public bool Handled { get; set; }
Property Value
Type Description
System.Boolean

true if the event is handled; otherwise, false.

  • Improve this Doc
  • View Source