BindingValueTFromUntyped(Object, Type) Method

Creates a BindingValueT from an object, handling the special values UnsetValue, DoNothing and BindingNotification.

Definition

Namespace: Avalonia.Data
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static BindingValue<T> FromUntyped(
	Object? value,
	Type targetType
)

Parameters

value  Object
The untyped value.
targetType  Type
The runtime target type.

Return Value

BindingValueT
The typed binding value.

See Also