BindingOperationsApply(AvaloniaObject, AvaloniaProperty, InstancedBinding, Object) Method

Note: This API is now obsolete.
Applies an InstancedBinding a property on an AvaloniaObject.

Definition

Namespace: Avalonia.Data
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
[ObsoleteAttribute("Use the Apply(AvaloniaObject, AvaloniaProperty, InstancedBinding) overload.")]
public static IDisposable Apply(
	AvaloniaObject target,
	AvaloniaProperty property,
	InstancedBinding binding,
	Object? anchor
)

Parameters

target  AvaloniaObject
The target object.
property  AvaloniaProperty
The property to bind.
binding  InstancedBinding
The instanced binding.
anchor  Object
Obsolete, unused.

Return Value

IDisposable
An IDisposable which can be used to cancel the binding.

See Also