BindingOperationsApply(AvaloniaObject, AvaloniaProperty, InstancedBinding) 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("This API may be removed in Avalonia 12. If you depend on this API, please open an issue with details of your use-case.")]
public static IDisposable Apply(
	AvaloniaObject target,
	AvaloniaProperty property,
	InstancedBinding binding
)

Parameters

target  AvaloniaObject
The target object.
property  AvaloniaProperty
The property to bind.
binding  InstancedBinding
The instanced binding.

Return Value

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

See Also