Table of Contents

Class ValidationObject

Namespace
The.WPF.Fields
Assembly
Instagile.WPF.dll
public abstract class ValidationObject : NotificationObject, INotifyPropertyChanged, IDataErrorInfo
Inheritance
ValidationObject
Implements
Derived
Inherited Members
Extension Methods

Properties

DisplayError

The text surfaced through binding validation. Validate() results by default; subclasses may add display-only content (e.g. warnings) which does not affect Error or validity.

protected virtual string? DisplayError { get; }

Property Value

string

Error

Gets an error message indicating what is wrong with this object.

public virtual string Error { get; }

Property Value

string

An error message indicating what is wrong with this object. The default is an empty string ("").

Methods

Validate()

public abstract string? Validate()

Returns

string