Skip to main content

ExtractValue Method

Gets a value from an object that may be a BindingNotification.

Definition

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

public static Object? ExtractValue(
Object? o
)

Parameters

  Object
The object.

Return Value

Object
The value.

Remarks

If o is a BindingNotification then returns the binding notification's Value. If not, returns the object unchanged.

See Also

Reference

BindingNotification Class
Avalonia.Data Namespace