Skip to main content
ValidationErrorEventArgs Class

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Provides information for the ValidationError attached event.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)


public class ValidationErrorEventArgs : RoutedEventArgs
public ref class ValidationErrorEventArgs : RoutedEventArgs
type ValidationErrorEventArgs = 
        inherit RoutedEventArgs
Public Class ValidationErrorEventArgs
	Inherits RoutedEventArgs

Gets a value that indicates whether the error is a new error or an existing error that has now been cleared.


Gets the error that caused this ValidationError event.


Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. (Inherited from RoutedEventArgs.)


Gets the original reporting source as determined by pure hit testing, before any possible adjustment by a parent class.(Inherited from RoutedEventArgs.)


Gets or sets the associated with this RoutedEventArgs instance. (Inherited from RoutedEventArgs.)


Gets or sets a reference to the object that raised the event. (Inherited from RoutedEventArgs.)

System_CAPS_pubmethod Equals

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethod Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethod GetHashCode

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethod GetType

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethod InvokeEventHandler

Invokes the specified handler in a type-specific way on the specified object.(Overrides RoutedEventArgsInvokeEventHandler.)

System_CAPS_protmethod MemberwiseClone

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethod OnSetSource

When overridden in a derived class, provides a notification callback entry point whenever the value of the property of an instance changes.(Inherited from RoutedEventArgs.)

System_CAPS_pubmethod ToString

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top