DataAnnotationsValidationPlugin Class

Summary

Validates properties on that have ValidationAttributes.
Namespace
Avalonia.Data.Core.Plugins
Interfaces
Base Types
  • object
graph TD Base0["object"]-->Type Interface0["IDataValidationPlugin"]-.->Type 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, string) bool
Checks whether this plugin can handle data validation on the specified object.
Start(WeakReference, string, IPropertyAccessor) IPropertyAccessor
Starts monitoring the data validation state of a property on an object.