EnableDataValidation Property
Gets a value indicating whether the property is interested in data validation.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
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
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 receiving data validation messages so this feature must be explicitly enabled by setting this flag.