BindingNotificationUpdateValue Method

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

Definition

Namespace: Avalonia.Data
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static Object? UpdateValue(
	Object? o,
	Object value
)

Parameters

o  Object
The object that may be a binding notification.
value  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