Skip to main content

UpdateValue Method

Updates the value of an object that may be a BindingNotification.

Definition​

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

public static Object? UpdateValue(
Object? o,
Object value
)

Parameters​

  Object
The object that may be a binding notification.
  Object
The new value.

Return Value​

Object
The updated binding notification if o is a binding notification; otherwise value.

Remarks​

If o is a BindingNotification then sets its value to value. If value is a BindingNotification then the value will first be extracted.

See Also​

Reference​

BindingNotification Class
Avalonia.Data Namespace