DataAnnotationsValidationPlugin Class

Summary

Validates properties on that have ValidationAttributes.
Namespace
Avalonia.Data.Core.Plugins
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["IDataValidationPlugin"] click Interface0 "/api/Avalonia.Data.Core.Plugins/IDataValidationPlugin" Type["DataAnnotationsValidationPlugin"] class Type type-node

Syntax

public class DataAnnotationsValidationPlugin : IDataValidationPlugin

Methods

Name Value Summary
Match(WeakReference<object>, string) bool
Checks whether this plugin can handle data validation on the specified object.
Start(WeakReference<object>, string, IPropertyAccessor) IPropertyAccessor
Starts monitoring the data validation state of a property on an object.