Skip to main content

DataAnnotationsValidationPlugin Class

Validates properties on that have ValidationAttributes.

Definition

Namespace: Avalonia.Data.Core.Plugins
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public class DataAnnotationsValidationPlugin : IDataValidationPlugin
View Source
InheritanceObject → DataAnnotationsValidationPlugin
ImplementsIDataValidationPlugin

Constructors

DataAnnotationsValidationPlugin()Initializes a new instance of the DataAnnotationsValidationPlugin class

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
Match(WeakReference(Object), String)Checks whether this plugin can handle data validation on the specified object.
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
Start(WeakReference(Object), String, IPropertyAccessor)Starts monitoring the data validation state of a property on an object.
ToString()Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Avalonia.Data.Core.Plugins Namespace