Skip to main content

UpdateDataValidation Method

Called to update the validation state for properties for which data validation is enabled.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)

protected virtual void UpdateDataValidation(
AvaloniaProperty property,
BindingValueType state,
Exception? error
)

Parameters

  AvaloniaProperty
The property.
  BindingValueType
The current data binding state.
  Exception
The current data binding error, if any.

See Also

Reference

AvaloniaObject Class
Avalonia Namespace