DirectPropertyMetadata<TValue>.

EnableDataValidation Property

Summary

Gets a value indicating whether the property is interested in data validation.
Namespace
Avalonia
Containing Type
DirectPropertyMetadata<TValue>

Syntax

public bool? EnableDataValidation { get; private set; }

Remarks

Data validation is validation performed at the target of a binding, for example in a view model using the INotifyDataErrorInfo interface. Only certain properties on a control (such as a TextBox's Text property) will be interested in recieving data validation messages so this feature must be explicitly enabled by setting this flag.

Value

Type Description
bool?