Class ValidationErrorEventArgs
Provides data for the BindingValidationError event.
Inherited Members
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 SourceValidationErrorEventArgs()
Declaration
public ValidationErrorEventArgs()
Properties
| Improve this Doc View SourceAction
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. |
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. |
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. |