AvaloniaPropertyMetadataEnableDataValidation Property
Gets a value indicating whether the property is interested in data validation.
Namespace: AvaloniaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public bool? EnableDataValidation { get; }
Public ReadOnly Property EnableDataValidation As Boolean?
Get
abstract EnableDataValidation : Nullable<bool> with get
override EnableDataValidation : Nullable<bool> with get
Property Value
NullableBoolean
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 receiving data
validation messages so this feature must be explicitly enabled by setting this flag.